From 527b0c5d3a31c1019fe0c3be5e6248fa2222def2 Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 6 Nov 2023 11:23:51 -0600 Subject: [PATCH] map key fix --- lib/db/migrate_wallets_to_isar.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/db/migrate_wallets_to_isar.dart b/lib/db/migrate_wallets_to_isar.dart index 406d655ff..35969649e 100644 --- a/lib/db/migrate_wallets_to_isar.dart +++ b/lib/db/migrate_wallets_to_isar.dart @@ -71,7 +71,7 @@ Future migrateWalletsToIsar({ final epicWalletInfo = ExtraEpiccashWalletInfo.fromMap({ "receivingIndex": walletBox.get("receivingIndex") as int? ?? 0, "changeIndex": walletBox.get("changeIndex") as int? ?? 0, - "slate_to_address": walletBox.get("slate_to_address") as Map? ?? {}, + "slatesToAddresses": walletBox.get("slate_to_address") as Map? ?? {}, "slatesToCommits": walletBox.get("slatesToCommits") as Map? ?? {}, "lastScannedBlock": walletBox.get("lastScannedBlock") as int? ?? 0, "restoreHeight": walletBox.get("restoreHeight") as int? ?? 0,