5afe / svalinn-kotlin

🛡️❄️️ Kotlin libraries for Ethereum based Android development
MIT License
31 stars 3 forks source link

Cannot recover using signature with chain_id #17

Closed rmeissner closed 6 years ago

rmeissner commented 6 years ago

Using a signature containing a chain_id in the v cannot be used for recovery.

When we see that the v of the signature is > 35 we should adjust it, for this it is necessary that we know the chain id.

This is only used when recovering a sender from a transaction hash with the signatures (not sure if we ever do that)