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)
|
if (i === publicKey.length)
|
||||||
this.init(publicKey);
|
|
||||||
else
|
|
||||||
this.rekey();
|
this.rekey();
|
||||||
|
else
|
||||||
|
this.init(publicKey);
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user