diff --git a/lib/monero/cw_monero.dart b/lib/monero/cw_monero.dart index 251a4ffd5..003ab920c 100644 --- a/lib/monero/cw_monero.dart +++ b/lib/monero/cw_monero.dart @@ -338,6 +338,6 @@ class CWMonero extends Monero { @override Future getCurrentHeight() async { - return monero_wallet.getCurrentHeight(); + return monero_wallet_api.getCurrentHeight(); } } diff --git a/tool/configure.dart b/tool/configure.dart index f6c87b530..05621d02a 100644 --- a/tool/configure.dart +++ b/tool/configure.dart @@ -200,6 +200,7 @@ import 'package:polyseed/polyseed.dart';"""; import 'package:cw_core/get_height_by_date.dart'; import 'package:cw_core/monero_amount_format.dart'; import 'package:cw_core/monero_transaction_priority.dart'; +import 'package:cw_monero/monero_unspent.dart'; import 'package:cw_monero/monero_wallet_service.dart'; import 'package:cw_monero/monero_wallet.dart'; import 'package:cw_monero/monero_transaction_info.dart'; @@ -318,7 +319,7 @@ abstract class Monero { void setCurrentAccount(Object wallet, int id, String label, String? balance); void onStartup(); int getTransactionInfoAccountId(TransactionInfo tx); - WalletService createMoneroWalletService(Box walletInfoSource, Box unspentCoinSource); + WalletService createMoneroWalletService(Box walletInfoSource, Box unspentCoinSource); Map pendingTransactionInfo(Object transaction); }