mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 03:49:22 +00:00
always add lelantus coin to locale db
This commit is contained in:
parent
c1f73a89be
commit
5d3e976601
1 changed files with 3 additions and 7 deletions
|
@ -370,7 +370,6 @@ Future<Map<String, dynamic>> 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 {
|
||||
|
|
Loading…
Reference in a new issue