mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-26 12:36:14 +00:00
Implement sweep all WIP
This commit is contained in:
parent
3d3bdf3de5
commit
0667e7fdcc
1 changed files with 6 additions and 2 deletions
|
@ -396,8 +396,12 @@ abstract class MoneroWalletBase extends WalletBase<MoneroBalance,
|
||||||
int _getFullBalance() =>
|
int _getFullBalance() =>
|
||||||
monero_wallet.getFullBalance(accountIndex: walletAddresses.account!.id);
|
monero_wallet.getFullBalance(accountIndex: walletAddresses.account!.id);
|
||||||
|
|
||||||
int _getUnlockedBalance() => monero_wallet.getUnlockedBalance(
|
int _getUnlockedBalance() {
|
||||||
accountIndex: walletAddresses.account!.id);
|
final unlockedBalance = monero_wallet.getUnlockedBalance(
|
||||||
|
accountIndex: walletAddresses.account!.id);
|
||||||
|
print('Unlocked balance within the function: $unlockedBalance');
|
||||||
|
return unlockedBalance;
|
||||||
|
}
|
||||||
|
|
||||||
void _onNewBlock(int height, int blocksLeft, double ptc) async {
|
void _onNewBlock(int height, int blocksLeft, double ptc) async {
|
||||||
print('----------------');
|
print('----------------');
|
||||||
|
|
Loading…
Reference in a new issue