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

fix mistaken comment

parent b5944065
...@@ -229,7 +229,7 @@ contract Challenge { ...@@ -229,7 +229,7 @@ contract Challenge {
/// in the binary search (cf. `getStepNumber`). He can only do this after the challenger /// in the binary search (cf. `getStepNumber`). He can only do this after the challenger
/// has submitted his own state hash for this step. /// has submitted his own state hash for this step.
/// If the defender believes there are less steps in the execution of the fault proof /// If the defender believes there are less steps in the execution of the fault proof
/// program than the current step number, he should submit a state hash of 0. /// program than the current step number, he should submit the final state hash.
function respondState(uint256 challengeId, bytes32 stateHash) external { function respondState(uint256 challengeId, bytes32 stateHash) external {
ChallengeData storage c = challenges[challengeId]; ChallengeData storage c = challenges[challengeId];
require(c.challenger != address(0), "invalid challenge"); require(c.challenger != address(0), "invalid challenge");
......
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