fix: remove retry logic for pending funds
This commit is contained in:
parent
a9506cee11
commit
475fd566e6
1 changed files with 1 additions and 4 deletions
|
|
@ -343,13 +343,10 @@
|
||||||
} = mempoolJS()
|
} = mempoolJS()
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const fn = async () =>
|
const utxos = await addressesAPI.getAddressTxsUtxo({
|
||||||
addressesAPI.getAddressTxsUtxo({
|
|
||||||
address: this.charge.onchainaddress
|
address: this.charge.onchainaddress
|
||||||
})
|
})
|
||||||
|
|
||||||
const utxos = await retryWithDelay(fn)
|
|
||||||
|
|
||||||
this.pendingFunds = utxos
|
this.pendingFunds = utxos
|
||||||
.filter(u => !u.status.confirmed)
|
.filter(u => !u.status.confirmed)
|
||||||
.reduce((t, u) => t + u.value, 0)
|
.reduce((t, u) => t + u.value, 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue