diff --git a/API.js b/API.js index 76f30a29e..a97c821a2 100644 --- a/API.js +++ b/API.js @@ -169,13 +169,13 @@ API.prototype.getCommands = decorate('getCommands', [ ['callback', 'function'] ]); -API.prototype._cmd_getWalletIds = function(callback) { +API.prototype._cmd_getWallets = function(callback) { var self = this; - return callback(null, self.walletFactory.getWalletIds()); + return callback(null, self.walletFactory.getWallets()); }; -API.prototype.getWalletIds = decorate('getWalletIds', [ +API.prototype.getWallets = decorate('getWallets', [ ['callback', 'function'] ]); diff --git a/index.html b/index.html index 07b8f19d0..fcf62cf8b 100644 --- a/index.html +++ b/index.html @@ -17,12 +17,12 @@ Copay
-
-
Wallet: {{$root.wallet.name}} <{{$root.wallet.id}}>
-

-

-
-
Wallet ID: {{$root.wallet.id}}
+
+
+ Wallet ID: {{$root.wallet.id}} + Wallet: {{$root.wallet.name}} <{{$root.wallet.id}}> + [{{$root.wallet.requiredCopayers}}-{{$root.wallet.totalCopayers}}]
+

Balance: {{totalBalance || 0}}
@@ -101,7 +101,7 @@