Skip to content

Commit

Permalink
fix: set initial account gap limit = to number of accounts if greater…
Browse files Browse the repository at this point in the history
… than default
  • Loading branch information
nicole-obrien committed May 14, 2024
1 parent 2366947 commit c5940cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
const DEFAULT_CONFIG = DEFAULT_ACCOUNT_RECOVERY_CONFIGURATION[type]
let accountStartIndex = 0
let accountGapLimit = DEFAULT_CONFIG.initialAccountRange
let accountGapLimit = Math.max(DEFAULT_CONFIG.initialAccountRange, $activeAccounts.length)
let addressStartIndex = 0
const addressGapLimit = DEFAULT_CONFIG.addressGapLimit
Expand Down

0 comments on commit c5940cb

Please sign in to comment.