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 204ec3b commit 1ebbb63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ contract ContractCallRequestModule is Module, IContractCallRequestModule {
}

/// @inheritdoc IContractCallRequestModule
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 1ebbb63

Please sign in to comment.