EC/Key: use network object consistently

This commit is contained in:
Daniel Cousens 2014-06-03 21:43:10 +10:00
parent d39662e375
commit 28dc390377
6 changed files with 16 additions and 16 deletions

View file

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