From 1e5aeeb361b257d79b039b2c96c0b0ea7fa1673c Mon Sep 17 00:00:00 2001 From: OmarHatem Date: Thu, 28 Sep 2023 01:35:39 +0300 Subject: [PATCH] Minor fix in generated monero configs --- lib/monero/cw_monero.dart | 2 +- tool/configure.dart | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/monero/cw_monero.dart b/lib/monero/cw_monero.dart index ff0949a01..b6822fda5 100644 --- a/lib/monero/cw_monero.dart +++ b/lib/monero/cw_monero.dart @@ -367,6 +367,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 52dfcf09e..954d27cda 100644 --- a/tool/configure.dart +++ b/tool/configure.dart @@ -123,6 +123,7 @@ import 'package:hive/hive.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'; @@ -242,7 +243,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); }