mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-22 15:19:11 +00:00
Ignore anon type txs when syncing wallet
This commit is contained in:
parent
11136d3d14
commit
ad4974e072
1 changed files with 2 additions and 2 deletions
|
@ -193,8 +193,8 @@ class ParticlWallet extends Bip39HDWallet
|
||||||
OutpointV2? outpoint;
|
OutpointV2? outpoint;
|
||||||
|
|
||||||
final coinbase = map["coinbase"] as String?;
|
final coinbase = map["coinbase"] as String?;
|
||||||
|
final txType = map['type'] as String?;
|
||||||
if (coinbase == null) {
|
if (coinbase == null && txType == null) {
|
||||||
// Not a coinbase (ie a typical input).
|
// Not a coinbase (ie a typical input).
|
||||||
final txid = map["txid"] as String;
|
final txid = map["txid"] as String;
|
||||||
final vout = map["vout"] as int;
|
final vout = map["vout"] as int;
|
||||||
|
|
Loading…
Reference in a new issue