fix: max amount

This commit is contained in:
Vlad Stan
2022-08-03 13:50:07 +03:00
parent b576ef4f21
commit eedd0ee6a3
6 changed files with 32 additions and 24 deletions
@@ -759,13 +759,6 @@ const watchOnly = async () => {
)
this.updateAmountForAddress(addressData, addressTotal)
},
// todo: move/dedup
getTotalSelectedUtxoAmount: function () {
const total = this.utxos.data
.filter(u => u.selected)
.reduce((t, a) => t + (a.amount || 0), 0)
return total
},
//################### MEMPOOL API ###################
getAddressTxsDelayed: async function (addrData) {