fix isar circular reference error

This commit is contained in:
julian 2024-01-17 11:16:18 -06:00
parent 4301ba96e5
commit 1f6c0e3f31

View file

@ -173,7 +173,7 @@ abstract class Wallet<T extends CryptoCurrency> {
// Store in db after wallet creation
await wallet.mainDB.isar.writeTxn(() async {
await wallet.mainDB.isar.walletInfo.put(wallet.info);
await wallet.mainDB.isar.walletInfo.put(walletInfo);
});
return wallet;