Skip to content

Commit

Permalink
Merge 223d36a into 324c71d
Browse files Browse the repository at this point in the history
  • Loading branch information
burz committed Nov 28, 2022
2 parents 324c71d + 223d36a commit 3653cdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/Reserve.sol
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ contract Reserve is IReserve, Manageable {
override
returns (uint224)
{
require(_startTimestamp < _endTimestamp, "Reserve/start-less-then-end");
require(_startTimestamp < _endTimestamp, "Reserve/start-less-than-end");
uint24 _cardinality = cardinality;
uint24 _nextIndex = nextIndex;

Expand Down
2 changes: 1 addition & 1 deletion test/Reserve.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ describe('Reserve', () => {
await reserve.setObservationsAt([{ timestamp: 5, amount: 70 }]);

await expect(reserve.getReserveAccumulatedBetween(3, 2)).to.be.revertedWith(
'Reserve/start-less-then-end',
'Reserve/start-less-than-end',
);
});

Expand Down

0 comments on commit 3653cdb

Please sign in to comment.