Minor fix in generated monero configs

This commit is contained in:
OmarHatem 2023-09-28 01:35:39 +03:00 committed by Czarek Nakamoto
parent 5a03c04125
commit 2ffd8ed0bd
2 changed files with 3 additions and 2 deletions

View file

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

View file

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