From 0223a75d9566ad3bbe1e6bdd3706baeec8f0230a Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 16 Jan 2023 12:58:10 -0600 Subject: [PATCH] putAll --- lib/services/coins/firo/firo_wallet.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/services/coins/firo/firo_wallet.dart b/lib/services/coins/firo/firo_wallet.dart index 518fb5c68..f1a562c4c 100644 --- a/lib/services/coins/firo/firo_wallet.dart +++ b/lib/services/coins/firo/firo_wallet.dart @@ -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()); }); }