private bool ValidChallengeSignature(string challenge, string signature, string userAddres) { var recoveredAddress = new EthereumMessageSigner().EncodeUTF8AndEcRecover(challenge, signature); return(recoveredAddress.IsTheSameAddress(userAddres)); }
private bool ValidChallengeSignature(string challenge, string signature, string userAddres) { var recoveredAddress = new EthereumMessageSigner().EncodeUTF8AndEcRecover(challenge, signature); return(recoveredAddress.IsTheSameAddress(userAddres)); }