Browse Source

add copayers names to status

activeAddress
Matias Alejo Garcia 10 years ago
parent
commit
e64a85ca0f
  1. 4
      bit-wallet/bit-status

4
bit-wallet/bit-status

@ -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…
Cancel
Save