aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders/src/utils
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2018-04-11 12:11:16 +0800
committerJacob Evans <jacob@dekz.net>2018-04-11 12:12:38 +0800
commit4aa67e292504fea307a4e5f15a124349fc769da6 (patch)
tree0fcee5bedc71ce70fff505a779021e8ce67c54d1 /packages/subproviders/src/utils
parent260ab2d4134e24a3a2f3fab845fa72c1e1766a3e (diff)
downloaddexon-sol-tools-4aa67e292504fea307a4e5f15a124349fc769da6.tar
dexon-sol-tools-4aa67e292504fea307a4e5f15a124349fc769da6.tar.gz
dexon-sol-tools-4aa67e292504fea307a4e5f15a124349fc769da6.tar.bz2
dexon-sol-tools-4aa67e292504fea307a4e5f15a124349fc769da6.tar.lz
dexon-sol-tools-4aa67e292504fea307a4e5f15a124349fc769da6.tar.xz
dexon-sol-tools-4aa67e292504fea307a4e5f15a124349fc769da6.tar.zst
dexon-sol-tools-4aa67e292504fea307a4e5f15a124349fc769da6.zip
Update JSDoc for methods in ledger and mnemonic wallet
Diffstat (limited to 'packages/subproviders/src/utils')
-rw-r--r--packages/subproviders/src/utils/wallet_utils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/subproviders/src/utils/wallet_utils.ts b/packages/subproviders/src/utils/wallet_utils.ts
index 2d9d14e44..097d2b82f 100644
--- a/packages/subproviders/src/utils/wallet_utils.ts
+++ b/packages/subproviders/src/utils/wallet_utils.ts
@@ -52,9 +52,9 @@ class DerivedHDKeyIterator implements IterableIterator<DerivedHDKey> {
export const walletUtils = {
DEFAULT_ADDRESS_SEARCH_LIMIT,
DEFAULT_NUM_ADDRESSES_TO_FETCH: 10,
- calculateDerivedHDKeys(initialDerivedKey: DerivedHDKey, searchLimit: number): DerivedHDKey[] {
+ calculateDerivedHDKeys(initialDerivedKey: DerivedHDKey, numberOfKeys: number): DerivedHDKey[] {
const derivedKeys: DerivedHDKey[] = [];
- const derivedKeyIterator = new DerivedHDKeyIterator(initialDerivedKey, searchLimit);
+ const derivedKeyIterator = new DerivedHDKeyIterator(initialDerivedKey, numberOfKeys);
for (const key of derivedKeyIterator) {
derivedKeys.push(key);
}