Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
[Paired with CLI FIX] Adjust param name (#519)
Browse files Browse the repository at this point in the history
* adjust hdpath option per the typings

* Update statemanager.js
  • Loading branch information
GregTheGreek committed Feb 12, 2020
1 parent b533bea commit f51ba15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/statemanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function StateManager(options, provider) {
this.net_version = options.network_id;
this.mnemonic = options.mnemonic;
this.wallet = hdkey.fromMasterSeed(bip39.mnemonicToSeed(this.mnemonic));
this.wallet_hdpath = options.hdPath;
this.wallet_hdpath = options.hd_path || options.hdPath;

this.gasPriceVal = to.rpcQuantityHexString(options.gasPrice);

Expand Down

0 comments on commit f51ba15

Please sign in to comment.