aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/scripts/lib/idStore.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js
index 486c67be6..e9b9e0e06 100644
--- a/app/scripts/lib/idStore.js
+++ b/app/scripts/lib/idStore.js
@@ -522,8 +522,8 @@ function pad_with_zeroes(number, length){
}
function concatSig(v, r, s) {
- r = pad_with_zeroes(ethUtil.fromSigned(r))
- s = pad_with_zeroes(ethUtil.fromSigned(s))
+ r = pad_with_zeroes(ethUtil.fromSigned(r), 64)
+ s = pad_with_zeroes(ethUtil.fromSigned(s), 64)
v = ethUtil.bufferToInt(v)
r = ethUtil.toUnsigned(r).toString('hex')
s = ethUtil.toUnsigned(s).toString('hex')