ignore bad tx for now and log it

This commit is contained in:
julian 2023-10-23 10:47:44 -06:00
parent 355c247275
commit 0c3735ef41

View file

@ -2200,7 +2200,11 @@ class BitcoinCashWallet extends CoinServiceAPI
// only found outputs owned by this wallet // only found outputs owned by this wallet
type = isar_models.TransactionType.incoming; type = isar_models.TransactionType.incoming;
} else { } else {
throw Exception("Unexpected tx found: $txData"); Logging.instance.log(
"Unexpected tx found: $txData",
level: LogLevel.Error,
);
continue;
} }
final tx = TransactionV2( final tx = TransactionV2(