ECPair/HDNode: adds getNetwork

This commit is contained in:
Daniel Cousens 2015-09-21 17:37:21 +10:00
parent 57d0ea84a2
commit daafb9794e
4 changed files with 28 additions and 0 deletions

View file

@ -136,6 +136,10 @@ HDNode.prototype.getFingerprint = function () {
return this.getIdentifier().slice(0, 4)
}
HDNode.prototype.getNetwork = function () {
return this.keyPair.getNetwork()
}
HDNode.prototype.getPublicKeyBuffer = function () {
return this.keyPair.getPublicKeyBuffer()
}