diff --git a/solidity/contracts/Oracle.sol b/solidity/contracts/Oracle.sol index 4d12171..11e84ca 100644 --- a/solidity/contracts/Oracle.sol +++ b/solidity/contracts/Oracle.sol @@ -195,8 +195,8 @@ contract Oracle is IOracle { _responseId = keccak256(abi.encodePacked(_proposer, address(this), _requestId, _responseNonce++)); _participants[_requestId].add(_proposer); - _responseIds[_requestId].add(_responseId); _responses[_responseId] = _request.responseModule.propose(_requestId, _proposer, _responseData, msg.sender); + _responseIds[_requestId].add(_responseId); if (_responses[_responseId].proposer != _proposer) { revert Oracle_CannotTamperParticipant();