mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-28 10:08:46 +00:00
Revert "raise maxNumberOfIndexesToCheck for bch"
This reverts commit 4627af9208
.
This commit is contained in:
parent
4627af9208
commit
5720f08aad
1 changed files with 2 additions and 12 deletions
|
@ -117,12 +117,7 @@ class _RestoringWalletCardState extends ConsumerState<RestoringWalletCard> {
|
|||
if (coin == Coin.firo) {
|
||||
maxUnusedAddressGap = 50;
|
||||
}
|
||||
|
||||
int maxNumberOfIndexesToCheck = 1000;
|
||||
// If Bitcoin Cash, multiply by 100.
|
||||
if (coin == Coin.bitcoincash) {
|
||||
maxNumberOfIndexesToCheck *= 100;
|
||||
}
|
||||
const maxNumberOfIndexesToCheck = 1000;
|
||||
|
||||
if (mnemonicList.isEmpty) {
|
||||
await manager.recoverFromMnemonic(
|
||||
|
@ -267,12 +262,7 @@ class _RestoringWalletCardState extends ConsumerState<RestoringWalletCard> {
|
|||
if (coin == Coin.firo) {
|
||||
maxUnusedAddressGap = 50;
|
||||
}
|
||||
|
||||
int maxNumberOfIndexesToCheck = 1000;
|
||||
// If Bitcoin Cash, multiply by 100.
|
||||
if (coin == Coin.bitcoincash) {
|
||||
maxNumberOfIndexesToCheck *= 100;
|
||||
}
|
||||
const maxNumberOfIndexesToCheck = 1000;
|
||||
|
||||
if (mnemonicList.isEmpty) {
|
||||
await manager.recoverFromMnemonic(
|
||||
|
|
Loading…
Reference in a new issue