From 900a06cf5583d3992563a201ef9c7d72da59de7e Mon Sep 17 00:00:00 2001 From: zorzal Date: Tue, 8 Oct 2024 10:04:28 -0400 Subject: [PATCH] fix: apply linter suggestion --- solidity/test/mocks/MockCallback.sol | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/solidity/test/mocks/MockCallback.sol b/solidity/test/mocks/MockCallback.sol index 417019e9..074c542f 100644 --- a/solidity/test/mocks/MockCallback.sol +++ b/solidity/test/mocks/MockCallback.sol @@ -12,7 +12,8 @@ contract MockCallback is IProphetCallback { contract MockFailCallback is IProphetCallback { error MockFailCallback_Fail(); - function prophetCallback(bytes calldata /* _callData */ ) external pure returns (bytes memory /* _callResponse */ ) { + function prophetCallback(bytes calldata /* _callData */ ) external pure returns (bytes memory _callResponse) { + _callResponse = abi.encode(false); revert MockFailCallback_Fail(); } }