mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 11:39:22 +00:00
minor fix
This commit is contained in:
parent
f82e3b561c
commit
bd8df5eed9
1 changed files with 4 additions and 1 deletions
|
@ -1361,7 +1361,10 @@ abstract class ElectrumWalletBase
|
||||||
@action
|
@action
|
||||||
Future<void> updateAllUnspents() async {
|
Future<void> updateAllUnspents() async {
|
||||||
List<BitcoinUnspent> updatedUnspentCoins = [];
|
List<BitcoinUnspent> updatedUnspentCoins = [];
|
||||||
final previousUnspentCoins = List<BitcoinUnspent>.from(unspentCoins);
|
|
||||||
|
final previousUnspentCoins = List<BitcoinUnspent>.from(unspentCoins.where((utxo) =>
|
||||||
|
utxo.bitcoinAddressRecord.type != SegwitAddresType.mweb &&
|
||||||
|
utxo.bitcoinAddressRecord is! BitcoinSilentPaymentAddressRecord));
|
||||||
|
|
||||||
if (hasSilentPaymentsScanning) {
|
if (hasSilentPaymentsScanning) {
|
||||||
// Update unspents stored from scanned silent payment transactions
|
// Update unspents stored from scanned silent payment transactions
|
||||||
|
|
Loading…
Reference in a new issue