Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhwarrier committed Mar 26, 2024
1 parent 46a3f73 commit 10acfdf
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,7 @@ contract SimpleLogUpkeepCounter is ILogAutomation, StreamsLookupCompatibleInterf
}

function checkLog(Log calldata log, bytes calldata checkData) external view override returns (bool, bytes memory) {
(uint256 checkBurnAmount, , bytes32 eventSig) = abi.decode(
checkData,
(uint256, uint256, bytes32)
);
(uint256 checkBurnAmount, , bytes32 eventSig) = abi.decode(checkData, (uint256, uint256, bytes32));
uint256 startGas = gasleft();
bytes32 dummyIndex = blockhash(block.number - 1);
bool dummy;
Expand Down Expand Up @@ -123,10 +120,7 @@ contract SimpleLogUpkeepCounter is ILogAutomation, StreamsLookupCompatibleInterf
if (checkBlock != log.blockNumber) {
isRecovered = true;
}
(, uint256 performBurnAmount, bytes32 eventSig) = abi.decode(
checkData,
(uint256, uint256, bytes32)
);
(, uint256 performBurnAmount, bytes32 eventSig) = abi.decode(checkData, (uint256, uint256, bytes32));
uint256 startGas = gasleft();
bytes32 dummyIndex = blockhash(block.number - 1);
bool dummy;
Expand Down

0 comments on commit 10acfdf

Please sign in to comment.