From ad4974e0725ad960a81bed330722d12ffa713682 Mon Sep 17 00:00:00 2001 From: likho Date: Mon, 18 Mar 2024 17:52:40 +0200 Subject: [PATCH] Ignore anon type txs when syncing wallet --- lib/wallets/wallet/impl/particl_wallet.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wallets/wallet/impl/particl_wallet.dart b/lib/wallets/wallet/impl/particl_wallet.dart index 89faa8950..e0d5bc9c2 100644 --- a/lib/wallets/wallet/impl/particl_wallet.dart +++ b/lib/wallets/wallet/impl/particl_wallet.dart @@ -193,8 +193,8 @@ class ParticlWallet extends Bip39HDWallet OutpointV2? outpoint; final coinbase = map["coinbase"] as String?; - - if (coinbase == null) { + final txType = map['type'] as String?; + if (coinbase == null && txType == null) { // Not a coinbase (ie a typical input). final txid = map["txid"] as String; final vout = map["vout"] as int;