Skip to content

Commit

Permalink
fix: onlyOracle
Browse files Browse the repository at this point in the history
  • Loading branch information
gas1cent committed Nov 11, 2023
1 parent 973c9f0 commit 8103280
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 SparseMerkleTreeRequestModule is Module, ISparseMerkleTreeRequestModule
}

/// @inheritdoc ISparseMerkleTreeRequestModule
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 8103280

Please sign in to comment.