EC/Key: use network object consistently
This commit is contained in:
parent
d39662e375
commit
28dc390377
6 changed files with 16 additions and 16 deletions
src
|
@ -136,7 +136,7 @@ HDNode.prototype.getFingerprint = function() {
|
|||
}
|
||||
|
||||
HDNode.prototype.getAddress = function() {
|
||||
return this.pubKey.getAddress(this.network.pubKeyHash)
|
||||
return this.pubKey.getAddress(this.network)
|
||||
}
|
||||
|
||||
HDNode.prototype.toBase58 = function(isPrivate) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue