Browse Source

Fix signMessage serialization.

hk-custom-address
Stefan Thomas 13 years ago
parent
commit
49114d6540
  1. 2
      src/message.js

2
src/message.js

@ -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…
Cancel
Save