Fix signMessage serialization.
This commit is contained in:
parent
0aaa2c6347
commit
49114d6540
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ Bitcoin.Message = (function () {
|
|||
if (compressed) i += 4;
|
||||
|
||||
var rBa = obj.r.toByteArrayUnsigned();
|
||||
var sBa = obj.r.toByteArrayUnsigned();
|
||||
var sBa = obj.s.toByteArrayUnsigned();
|
||||
|
||||
// Pad to 32 bytes per value
|
||||
while (rBa.length < 32) rBa.unshift(0);
|
||||
|
|
Loading…
Reference in a new issue