additionalInfo backwards compat

This commit is contained in:
Czarek Nakamoto 2024-04-26 17:51:51 +02:00
parent fb0b87942a
commit dc699c6551

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