mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-08 20:09:24 +00:00
Minor fix in generated monero configs
This commit is contained in:
parent
f9794bdae6
commit
1e5aeeb361
2 changed files with 3 additions and 2 deletions
|
@ -367,6 +367,6 @@ class CWMonero extends Monero {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<int> getCurrentHeight() async {
|
Future<int> getCurrentHeight() async {
|
||||||
return monero_wallet.getCurrentHeight();
|
return monero_wallet_api.getCurrentHeight();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -123,6 +123,7 @@ import 'package:hive/hive.dart';""";
|
||||||
import 'package:cw_core/get_height_by_date.dart';
|
import 'package:cw_core/get_height_by_date.dart';
|
||||||
import 'package:cw_core/monero_amount_format.dart';
|
import 'package:cw_core/monero_amount_format.dart';
|
||||||
import 'package:cw_core/monero_transaction_priority.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_service.dart';
|
||||||
import 'package:cw_monero/monero_wallet.dart';
|
import 'package:cw_monero/monero_wallet.dart';
|
||||||
import 'package:cw_monero/monero_transaction_info.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 setCurrentAccount(Object wallet, int id, String label, String? balance);
|
||||||
void onStartup();
|
void onStartup();
|
||||||
int getTransactionInfoAccountId(TransactionInfo tx);
|
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);
|
Map<String, String> pendingTransactionInfo(Object transaction);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue