Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert on invalid address #34

merged 3 commits into from Mar 9, 2019
Changes from all commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.


Just for now

@@ -101,7 +101,7 @@ contract Marmo {

// The signer 'INVALID_ADDRESS' is considered invalid and it will always throw
// this is meant to destroy the wallet safely
assert(_signer != INVALID_ADDRESS);
require(_signer != INVALID_ADDRESS, "Signer is not a valid address");

// Validate is the msg.sender is the signer or if the provided signature is valid
require(_signer == msg.sender || _signer == SigUtils.ecrecover2(id, _signature), "Invalid signature");
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.