fix assignment issue

This commit is contained in:
julian 2023-05-16 14:43:52 -06:00
parent 01999e4f29
commit 02fe1103cb

View file

@ -2447,7 +2447,7 @@ class FiroWallet extends CoinServiceAPI
element.forEach((key, value) { element.forEach((key, value) {
isar_models.Transaction? tx; isar_models.Transaction? tx;
try { try {
tx == data.firstWhere((e) => e.txid == value.txId); tx = data.firstWhere((e) => e.txid == value.txId);
} catch (_) { } catch (_) {
tx = null; tx = null;
} }