Skip to content

Commit 49114d6

Browse files
committed
Fix signMessage serialization.
1 parent 0aaa2c6 commit 49114d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/message.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Bitcoin.Message = (function () {
3838
if (compressed) i += 4;
3939

4040
var rBa = obj.r.toByteArrayUnsigned();
41-
var sBa = obj.r.toByteArrayUnsigned();
41+
var sBa = obj.s.toByteArrayUnsigned();
4242

4343
// Pad to 32 bytes per value
4444
while (rBa.length < 32) rBa.unshift(0);

0 commit comments

Comments
 (0)