From 1ae08a81d99c7552780a744569bfed486a24b8d2 Mon Sep 17 00:00:00 2001 From: Gas One Cent <86567384+gas1cent@users.noreply.github.com> Date: Sat, 11 Nov 2023 19:02:22 +0400 Subject: [PATCH] refactor: remove unreachable if --- solidity/contracts/Oracle.sol | 4 ---- 1 file changed, 4 deletions(-) diff --git a/solidity/contracts/Oracle.sol b/solidity/contracts/Oracle.sol index a5bcce5..0c686e1 100644 --- a/solidity/contracts/Oracle.sol +++ b/solidity/contracts/Oracle.sol @@ -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