fix: coin selection

This commit is contained in:
Vlad Stan
2022-08-03 13:50:07 +03:00
parent 24d162f3fc
commit 59d960b5f9
4 changed files with 16 additions and 25 deletions
@@ -163,7 +163,7 @@ async function payment(path) {
this.selectChangeAddress(this.changeWallet)
},
handleOutputsChange: function () {
this.$refs.utxoList.applyUtxoSelectionMode()
this.$refs.utxoList.refreshUtxoSelection(this.totalPayedAmount)
},
getTotalPaymentAmount: function () {
return this.sendToList.reduce((t, a) => t + (a.amount || 0), 0)