HDNode: rename priv/pub to privKey/pubKey
This commit is contained in:
parent
dca193be4e
commit
6a73bc02f5
4 changed files with 29 additions and 29 deletions
src
|
@ -246,11 +246,11 @@ function Wallet(seed, network) {
|
|||
this.getExternalAccount = function() { return externalAccount }
|
||||
|
||||
this.getPrivateKey = function(index) {
|
||||
return externalAccount.derive(index).priv
|
||||
return externalAccount.derive(index).privKey
|
||||
}
|
||||
|
||||
this.getInternalPrivateKey = function(index) {
|
||||
return internalAccount.derive(index).priv
|
||||
return internalAccount.derive(index).privKey
|
||||
}
|
||||
|
||||
this.getPrivateKeyForAddress = function(address) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue