Commit d63afff7 authored by George Hotz's avatar George Hotz

mock sounds too much like a computer word

parent 24d206c1
...@@ -173,7 +173,7 @@ contract Challenge { ...@@ -173,7 +173,7 @@ contract Challenge {
emit ChallengerWins(challengeId); emit ChallengerWins(challengeId);
} }
function MockChallengerStateTransition(uint256 challengeId, bytes32 finalRiscState) external { function HumiliateChallengerStateTransition(uint256 challengeId, bytes32 finalRiscState) external {
Chal storage c = challenges[challengeId]; Chal storage c = challenges[challengeId];
require(c.challenger != address(0), "invalid challenge"); require(c.challenger != address(0), "invalid challenge");
require(owner == msg.sender, "must be owner"); require(owner == msg.sender, "must be 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