Fix pad with zeroes usage

feature/default_network_editable
Dan Finlay 9 years ago
parent 1fe383f7fb
commit 7430560f7f
  1. 4
      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')

Loading…
Cancel
Save