Skip to content

Commit

Permalink
fix: changed what was reported as updateTime in `AccumulatorMultiOrac…
Browse files Browse the repository at this point in the history
…le`(#544)
  • Loading branch information
iamsahu authored Mar 29, 2023
1 parent 98c6e82 commit 81f79ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oracles/accumulator/AccumulatorMultiOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ contract AccumulatorMultiOracle is IOracle, AccessControl, Constants {
accumulated = source.accumulated;
require(accumulated > 0, "Accumulated rate is zero");

updateTime = block.timestamp;
updateTime = source.lastUpdated;
}

/**
Expand Down

0 comments on commit 81f79ba

Please sign in to comment.