used/unused addresses list
This commit is contained in:
parent
fc73d4ff36
commit
e3746bfaec
4 changed files with 67 additions and 36 deletions
|
|
@ -773,10 +773,9 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim
|
|||
});
|
||||
};
|
||||
|
||||
root.getMainAddresses = function(wallet, limit, cb) {
|
||||
var opts = {};
|
||||
root.getMainAddresses = function(wallet, opts, cb) {
|
||||
opts = opts || {};
|
||||
opts.reverse = true;
|
||||
if (limit) opts.limit = limit;
|
||||
|
||||
wallet.getMainAddresses(opts, function(err, addresses) {
|
||||
if (err) return cb(err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue