Skip to content

Commit

Permalink
fix: forge fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed May 20, 2024
1 parent d5fc1ed commit 95b4e0e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion contracts/v0.2/src/SubmissionProxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,10 @@ contract SubmissionProxy is Ownable {

uint256 feedsLength_ = _feedHashes.length;
for (uint256 i = 0; i < feedsLength_; i++) {
if (_timestamps[i] <= block.timestamp - dataFreshness || lastSubmissionTimes[_feedHashes[i]] >= _timestamps[i]) {
if (
_timestamps[i] <= block.timestamp - dataFreshness
|| lastSubmissionTimes[_feedHashes[i]] >= _timestamps[i]
) {
// answer is too old -> do not submit!
continue;
}
Expand Down

0 comments on commit 95b4e0e

Please sign in to comment.