Skip to content

Commit

Permalink
fix: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai committed Nov 12, 2024
1 parent f6c113a commit ce13dfd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/v0.2/src/SubmissionProxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ contract SubmissionProxy is Ownable {
}

if (lastSubmissionTimes[_feedHash] >= _timestamp) {
// answer is superseeded -> do not submit!
// answer is superseded -> do not submit!
revert AnswerSuperseded();
}

Expand Down Expand Up @@ -499,7 +499,7 @@ contract SubmissionProxy is Ownable {

/**
* @notice Submit a single submission to a feed. The submission is
* ignored if it has been superseeded. If the submission does not
* ignored if it has been superseded. If the submission does not
* meet the rest of required conditions the submission is reverted.
* @param _feedHash The hash of the feed
* @param _answer The submission
Expand All @@ -513,7 +513,7 @@ contract SubmissionProxy is Ownable {
bytes calldata _proof
) public {
if (lastSubmissionTimes[_feedHash] >= _timestamp) {
// answer is superseeded -> skip submission
// answer is superseded -> skip submission
return;
}

Expand Down

0 comments on commit ce13dfd

Please sign in to comment.