Minor fix in generated monero configs

This commit is contained in:
OmarHatem 2023-09-28 01:35:39 +03:00
parent f9794bdae6
commit 1e5aeeb361
2 changed files with 3 additions and 2 deletions

View file

@ -367,6 +367,6 @@ class CWMonero extends Monero {
@override
Future<int> getCurrentHeight() async {
return monero_wallet.getCurrentHeight();
return monero_wallet_api.getCurrentHeight();
}
}

View file

@ -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<WalletInfo> walletInfoSource, Box<dynamic> unspentCoinSource);
WalletService createMoneroWalletService(Box<WalletInfo> walletInfoSource, Box<UnspentCoinsInfo> unspentCoinSource);
Map<String, String> pendingTransactionInfo(Object transaction);
}