Fix signMessage serialization.

This commit is contained in:
Stefan Thomas 2012-08-17 01:50:56 +02:00
parent 0aaa2c6347
commit 49114d6540

View file

@ -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);