mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-12 09:27:01 +00:00
fix: rbf should not touch blocked/frozen utxos
This commit is contained in:
parent
37f23a09f5
commit
e2c81a1af0
1 changed files with 5 additions and 3 deletions
|
@ -105,9 +105,11 @@ mixin RbfInterface<T extends ElectrumXCurrencyInterface>
|
|||
final otherAvailableUtxos = await mainDB
|
||||
.getUTXOs(walletId)
|
||||
.filter()
|
||||
.usedIsNull()
|
||||
.or()
|
||||
.usedEqualTo(false)
|
||||
.isBlockedEqualTo(false)
|
||||
.and()
|
||||
.group(
|
||||
(q) => q.usedIsNull().or().usedEqualTo(false),
|
||||
)
|
||||
.findAll();
|
||||
|
||||
final height = await chainHeight;
|
||||
|
|
Loading…
Reference in a new issue