bip151: fix encack.
This commit is contained in:
parent
b74bda623f
commit
adb7b28795
@ -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;
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user