Update bitcoin_wallet.dart

This commit is contained in:
M 2021-04-06 18:54:22 +03:00
parent 13923d7781
commit 390a2f6adb

View file

@ -174,7 +174,7 @@ abstract class BitcoinWalletBase extends WalletBase<BitcoinBalance> with Store {
} }
@action @action
void nextAddress() async { Future<void> nextAddress() async {
_accountIndex += 1; _accountIndex += 1;
if (_accountIndex >= addresses.length) { if (_accountIndex >= addresses.length) {