Skip to content

Commit

Permalink
refactor: remove unreachable if
Browse files Browse the repository at this point in the history
  • Loading branch information
gas1cent committed Nov 11, 2023
1 parent bd01a98 commit 1ae08a8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions solidity/contracts/Oracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,6 @@ contract Oracle is IOracle {
IDisputeModule(_request.disputeModule).disputeResponse(_request, _response, _dispute);

emit ResponseDisputed(_responseId, _disputeId, _dispute, block.number);

if (disputeStatus[_disputeId] != DisputeStatus.Active) {
IDisputeModule(_request.disputeModule).onDisputeStatusChange(_disputeId, _request, _response, _dispute);
}
}

/// @inheritdoc IOracle
Expand Down

0 comments on commit 1ae08a8

Please sign in to comment.