add copayers names to status
This commit is contained in:
parent
c4d97243e1
commit
e64a85ca0f
|
@ -20,6 +20,10 @@ client.getStatus(function(err, res) {
|
|||
var x = res.wallet;
|
||||
console.log('* Wallet %s [%s]: %d-%d %s ', x.name, x.network, x.m, x.n, x.status);
|
||||
|
||||
if (x.status != 'complete')
|
||||
console.log(' Missing copayers:', x.n - x.copayers.length);
|
||||
console.log('* Copayers:', _.pluck(x.copayers,'name').join(', '));
|
||||
|
||||
var x = res.balance;
|
||||
console.log('* Balance %d (Locked: %d)', x.totalAmount, x.lockedAmount);
|
||||
|
||||
|
|
Loading…
Reference in New Issue