Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Can not get address use hash and signature, got "[libsecp256k1] illegal argument: recid >= 0 && recid <= 3"error. #299

Open
stroyBoard opened this issue Jun 15, 2019 · 1 comment

Comments

@stroyBoard
Copy link

stroyBoard commented Jun 15, 2019

Here is my code :

let web3Rinkeby = Web3.InfuraRinkebyWeb3()
let address = try? web3Rinkeby.personal.ecrecover(hash: hash, signature: signature)
return address!.address

Is this code right or I should use another method?
I need some help thanks!

@stroyBoard stroyBoard changed the title I need to get address use hash and signature,But I got "[libsecp256k1] illegal argument: recid >= 0 && recid <= 3"error. Can not get address use hash and signature, got "[libsecp256k1] illegal argument: recid >= 0 && recid <= 3"error. Jun 15, 2019
@skywinder
Copy link
Contributor

We moved our development to the new repo
➡️https://github.com/matterinc/web3swift ⬅️
Feel free continue discussion in the new repository. 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@skywinder @stroyBoard and others