mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-22 10:34:32 +00:00
putAll
This commit is contained in:
parent
9388885047
commit
0223a75d95
1 changed files with 3 additions and 3 deletions
|
@ -2849,8 +2849,8 @@ class FiroWallet extends CoinServiceAPI with WalletCache, WalletDB, FiroHive {
|
|||
}
|
||||
|
||||
// TODO: optimize this whole lelantus process
|
||||
await isar.writeTxn(
|
||||
() async => isar.transactions.putAllByTxid(listLelantusTxData));
|
||||
await isar
|
||||
.writeTxn(() async => isar.transactions.putAll(listLelantusTxData));
|
||||
|
||||
// // update the _lelantusTransactionData
|
||||
// final models.TransactionData newTxData =
|
||||
|
@ -4074,7 +4074,7 @@ class FiroWallet extends CoinServiceAPI with WalletCache, WalletDB, FiroHive {
|
|||
}
|
||||
|
||||
await isar.writeTxn(() async {
|
||||
await isar.transactions.putAllByTxid(transactionMap.values.toList());
|
||||
await isar.transactions.putAll(transactionMap.values.toList());
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue