Ignore anon type txs when syncing wallet

This commit is contained in:
likho 2024-03-18 17:52:40 +02:00
parent 11136d3d14
commit ad4974e072

View file

@ -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;