HDNode: rename priv/pub to privKey/pubKey

This commit is contained in:
Daniel Cousens 2014-06-03 17:30:05 +10:00
parent dca193be4e
commit 6a73bc02f5
4 changed files with 29 additions and 29 deletions

View file

@ -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) {