mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-03 17:40:43 +00:00
fix: duplicate unspent again
This commit is contained in:
parent
6ea5c50884
commit
2c608d78ec
1 changed files with 1 additions and 2 deletions
|
@ -673,8 +673,7 @@ abstract class ElectrumWalletBase
|
||||||
if (tx.unspent != null) {
|
if (tx.unspent != null) {
|
||||||
if (!unspentCoins.any((utx) =>
|
if (!unspentCoins.any((utx) =>
|
||||||
utx.hash.contains(tx.unspent!.hash) &&
|
utx.hash.contains(tx.unspent!.hash) &&
|
||||||
utx.vout == tx.unspent!.vout &&
|
utx.vout == tx.unspent!.vout)) {
|
||||||
utx.address.contains(tx.to!))) {
|
|
||||||
unspentCoins.add(tx.unspent!);
|
unspentCoins.add(tx.unspent!);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue