Skip to content

Commit

Permalink
fix: search more than one account
Browse files Browse the repository at this point in the history
  • Loading branch information
jeeanribeiro committed May 15, 2024
1 parent a9b5888 commit 3890f0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
isDepthSearch = true
recoverAccountsPayload = {
accountStartIndex: isSingleAccountSearch ? $selectedAccountIndex : accountGapLimit,
accountGapLimit: 0,
accountGapLimit: isSingleAccountSearch ? 0 : 1,
addressGapLimit: isSingleAccountSearch
? addressGapLimit
: (searchCount - depthSearchCount) * addressGapLimit,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
depthSearch = true
recoverAccountsPayload = {
accountStartIndex: accountGapLimit,
accountGapLimit: 0,
accountGapLimit: 1,
addressGapLimit: (searchCount - depthSearchCount) * addressGapLimit,
syncOptions: { ...DEFAULT_SYNC_OPTIONS, addressStartIndex: 0 },
}
Expand Down

0 comments on commit 3890f0c

Please sign in to comment.