Commit 629e9bc0 authored by tre's avatar tre

fix timeout logic

parent b5ecfb8a
......@@ -134,8 +134,7 @@ contract Faucet {
// Make sure the timeout has elapsed.
require(
timeouts[_auth.module][_auth.id] == 0 ||
timeouts[_auth.module][_auth.id] > block.timestamp,
timeouts[_auth.module][_auth.id] < block.timestamp,
"Faucet: auth cannot be used yet because timeout has not elapsed"
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment