[skip ci] fix issue with nullable field in Node adapter

This commit is contained in:
Godwin Asuquo
2022-12-12 19:30:48 +01:00
parent f2ea86a713
commit 6c9f9a4d19
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ abstract class HavenWalletBase extends WalletBase<MoneroBalance,
useSSL: node.useSSL ?? false,
isLightWallet: false); // FIXME: hardcoded value
haven_wallet.setTrustedDaemon(node.trusted);
haven_wallet.setTrustedDaemon(node.trusted ?? false);
syncStatus = ConnectedSyncStatus();
} catch (e) {
syncStatus = FailedSyncStatus();