Skip to content

Commit

Permalink
fix: remove unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed Nov 12, 2024
1 parent 254b7e9 commit 7109bcf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions contracts/v0.2/src/SubmissionProxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -535,9 +535,6 @@ contract SubmissionProxy is Ownable {

bytes32 message_ = keccak256(abi.encodePacked(_answer, _timestamp, _feedHash));
if (validateProof(_feedHash, message_, proofs_)) {
if (lastSubmissionTimes[_feedHash] >= _timestamp) {
return;
}
feeds[_feedHash].submit(_answer);
lastSubmissionTimes[_feedHash] = _timestamp;
} else {
Expand Down

0 comments on commit 7109bcf

Please sign in to comment.