send max button - show wallet selector

This commit is contained in:
Javier 2016-11-03 17:53:32 -03:00
commit f4b29d9298
4 changed files with 57 additions and 6 deletions

View file

@ -1083,6 +1083,13 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim
return type;
};
root.getSendMaxInfo = function(wallet, opts, cb) {
opts = opts || {};
wallet.getSendMaxInfo(opts, function(err, res) {
if (err) return cb(err);
return cb(null, res);
});
};
return root;
});