From 9f2fe050c9027724b82009da214c16c01513f5e8 Mon Sep 17 00:00:00 2001 From: Louis Bettens Date: Wed, 27 Sep 2023 18:50:46 +0200 Subject: [PATCH] chore: missing error message address WP-N2 --- contracts/GelatoVRFConsumerBase.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/GelatoVRFConsumerBase.sol b/contracts/GelatoVRFConsumerBase.sol index e70a658..0112306 100644 --- a/contracts/GelatoVRFConsumerBase.sol +++ b/contracts/GelatoVRFConsumerBase.sol @@ -52,7 +52,7 @@ abstract contract GelatoVRFConsumerBase is GelatoVRFConsumer { uint256 randomness, bytes calldata data ) external { - require(msg.sender == _operator()); + require(msg.sender == _operator(), "only operator"); (uint64 requestId, bytes memory extraData) = abi.decode( data, (uint64, bytes)