mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-25 13:09:32 +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() =>
|
||||
monero_wallet.getFullBalance(accountIndex: walletAddresses.account!.id);
|
||||
|
||||
int _getUnlockedBalance() => monero_wallet.getUnlockedBalance(
|
||||
accountIndex: walletAddresses.account!.id);
|
||||
int _getUnlockedBalance() {
|
||||
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 {
|
||||
print('----------------');
|
||||
|
|
Loading…
Reference in a new issue