Open pkrizan opened 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.
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.