"has no funds" case
This commit is contained in:
parent
c3cded5cb0
commit
893dbe5c6f
4 changed files with 103 additions and 21 deletions
|
|
@ -847,6 +847,13 @@ angular.module('copayApp.services')
|
|||
});
|
||||
}
|
||||
|
||||
if (opts.hasNoFunds) {
|
||||
ret = lodash.filter(ret, function(w) {
|
||||
if (!w.status) return;
|
||||
return (w.status.availableBalanceSat === 0);
|
||||
});
|
||||
}
|
||||
|
||||
if (opts.minAmount) {
|
||||
ret = lodash.filter(ret, function(w) {
|
||||
if (!w.status) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue