Commit 7155f6dd authored by Nicolas "Norswap" Laurent's avatar Nicolas "Norswap" Laurent Committed by norswap

remove fallback function

parent 43f8ec1c
...@@ -45,7 +45,6 @@ contract Challenge { ...@@ -45,7 +45,6 @@ contract Challenge {
} }
// allow getting money (and withdrawing the bounty, honor system) // allow getting money (and withdrawing the bounty, honor system)
fallback() external payable {}
receive() external payable {} receive() external payable {}
function withdraw() external { function withdraw() external {
require(msg.sender == owner, "not owner"); require(msg.sender == owner, "not owner");
......
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