etherdelta / bots

EtherDelta example bots
95 stars 121 forks source link

order signing fixes #32

Open pkrizan opened 5 years ago

pkrizan commented 5 years ago

Code here had wrong hash function - sha256keccak instead of plain old sha256. Also, message wasn't ethereum signed, was missing "\x19Ethereum Signed Message:\n32" prefix. Signature was invalid. Now everything should be correct.