You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
numToVarInt uses big endian instead of little endian #2774
This only causes issues for values >= 0xfd that are represented using multiple bytes. I encountered it while serializing multisig transactions that has large scriptSig (it works fine with regular transactions, since they usually don't have >= 0xfd values).
I attempted to reverse it myself, but it didn't work well - seems like some parts of the code expects it to return big endian?
Activity
sipa commentedon Jun 18, 2013
There is no numToVarInt anywhere in our code, as far as I can see. Are you sure you didn't want to file this with (a guess:) bitcoin-js?
jgarzik commentedon Jun 18, 2013
Not this project
shesek commentedon Jun 18, 2013
Oops! Indeed, I meant to file that in bitcoinjs. My bad, sorry :)
Use smaller (3 out of 5) quorums for regtest/Travis (bitcoin#2774)