additionalInfo backwards compat

This commit is contained in:
Czarek Nakamoto 2024-04-26 17:51:51 +02:00 committed by sneurlax
parent f614cfff5f
commit ffa4c85d53

View file

@ -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) {