From 5d3e976601e7b2e9f63f456931a26301107d48e3 Mon Sep 17 00:00:00 2001 From: julian Date: Tue, 25 Jul 2023 16:08:54 -0600 Subject: [PATCH] always add lelantus coin to locale db --- lib/services/coins/firo/firo_wallet.dart | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/lib/services/coins/firo/firo_wallet.dart b/lib/services/coins/firo/firo_wallet.dart index 2a17d0849..37c31dce4 100644 --- a/lib/services/coins/firo/firo_wallet.dart +++ b/lib/services/coins/firo/firo_wallet.dart @@ -370,7 +370,6 @@ Future> isolateRestore( // Logging.instance.log("jmints $spendTxIds", addToDebugMessagesDB: false); result['_lelantus_coins'] = lelantusCoins; - result['jindex'] = jindexes; result['spendTxIds'] = spendTxIds; return result; @@ -2992,9 +2991,7 @@ class FiroWallet extends CoinServiceAPI } await db.isar.lelantusCoins.putAll(updatedCoins); - if (int.parse(jmint.value) > 0) { - await db.isar.lelantusCoins.put(jmint); - } + await db.isar.lelantusCoins.put(jmint); }); } catch (e, s) { Logging.instance.log( @@ -3074,9 +3071,8 @@ class FiroWallet extends CoinServiceAPI isJMint: false, otherData: null, ); - if (int.parse(mint.value) > 0) { - updatedCoins.add(mint); - } + + updatedCoins.add(mint); } // Logging.instance.log(coins); try {