diff --git a/lib/bcoin/bip151.js b/lib/bcoin/bip151.js index ec75b88e..f25eb637 100644 --- a/lib/bcoin/bip151.js +++ b/lib/bcoin/bip151.js @@ -167,9 +167,9 @@ BIP151.prototype.encack = function encack(data) { } if (i === publicKey.length) - this.init(publicKey); - else this.rekey(); + else + this.init(publicKey); return this; };