Variables names made consistent with constructor
This commit is contained in:
parent
bb80eda218
commit
e2e190c766
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ function HDWallet(seed, networkString) {
|
||||||
HDWallet.HIGHEST_BIT = 0x80000000
|
HDWallet.HIGHEST_BIT = 0x80000000
|
||||||
HDWallet.LENGTH = 78
|
HDWallet.LENGTH = 78
|
||||||
|
|
||||||
HDWallet.fromSeedHex = function(hex, network) {
|
HDWallet.fromSeedHex = function(hex, networkString) {
|
||||||
return new HDWallet(new Buffer(hex, 'hex'), network)
|
return new HDWallet(new Buffer(hex, 'hex'), networkString)
|
||||||
}
|
}
|
||||||
|
|
||||||
HDWallet.fromBase58 = function(string) {
|
HDWallet.fromBase58 = function(string) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue