add copayers names to status

This commit is contained in:
Matias Alejo Garcia 2015-02-18 17:18:10 -03:00
parent c4d97243e1
commit e64a85ca0f
1 changed files with 4 additions and 0 deletions

View File

@ -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);