Skip to content

Commit

Permalink
feat: remove a TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gas1cent committed Dec 12, 2023
1 parent 4aa14c4 commit 8fbea4a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions solidity/contracts/Oracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,6 @@ contract Oracle is IOracle {
revert Oracle_AlreadyFinalized(_response.requestId);
}

// TODO: Allow multiple disputes per response to prevent an attacker from starting and losing a dispute,
// making it impossible for non-malicious actors to dispute a response?
if (disputeOf[_dispute.responseId] != bytes32(0)) {
revert Oracle_ResponseAlreadyDisputed(_dispute.responseId);
}
Expand Down

0 comments on commit 8fbea4a

Please sign in to comment.