Skip to content

Commit 69b1b4b

Browse files
committed
fix: check-effect-interaction
1 parent d11ff9b commit 69b1b4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/src/0.8/RealitioHomeProxyGnosis.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ contract RealitioHomeProxyGnosis is IHomeArbitrationProxy {
219219
Request storage request = requests[_questionID][requester];
220220
require(request.status == Status.Ruled, "Arbitrator has not ruled yet");
221221

222+
request.status = Status.Finished;
223+
222224
realitio.assignWinnerAndSubmitAnswerByArbitrator(
223225
_questionID,
224226
request.arbitratorAnswer,
@@ -228,8 +230,6 @@ contract RealitioHomeProxyGnosis is IHomeArbitrationProxy {
228230
_lastAnswerer
229231
);
230232

231-
request.status = Status.Finished;
232-
233233
emit ArbitrationFinished(_questionID);
234234
}
235235
}

0 commit comments

Comments
 (0)