diff --git a/lib/wallets/wallet/impl/monero_wallet.dart b/lib/wallets/wallet/impl/monero_wallet.dart index e0d70db36..5f681c774 100644 --- a/lib/wallets/wallet/impl/monero_wallet.dart +++ b/lib/wallets/wallet/impl/monero_wallet.dart @@ -218,8 +218,8 @@ class MoneroWallet extends CryptonoteWallet with CwBasedInterface { final addressString = (CwBasedInterface.cwWalletBase as MoneroWalletBase?) ?.getTransactionAddress( - addressInfo!['accountIndex'] as int, - addressInfo['addressIndex'] as int, + addressInfo?['accountIndex'] as int? ?? 0, + addressInfo?['addressIndex'] as int? ?? 0, ); if (addressString != null) {