Skip to content

Commit

Permalink
fix: onlyOracle modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
gas1cent committed Nov 11, 2023
1 parent ae2e40a commit 0084204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solidity/contracts/modules/request/HttpRequestModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ contract HttpRequestModule is Module, IHttpRequestModule {
}

/// @inheritdoc IHttpRequestModule
function createRequest(bytes32 _requestId, bytes calldata _data, address _requester) external {
function createRequest(bytes32 _requestId, bytes calldata _data, address _requester) external onlyOracle {
RequestParameters memory _params = decodeRequestData(_data);

_params.accountingExtension.bond({
Expand Down

0 comments on commit 0084204

Please sign in to comment.