Skip to content

Commit

Permalink
Merge pull request #706 from lidofinance/fix/report-processor-view
Browse files Browse the repository at this point in the history
Fix: report processor view
  • Loading branch information
TheDZhon authored Mar 23, 2023
2 parents d7832e2 + ec6ba4a commit ac06171
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions contracts/0.8.9/oracle/HashConsensus.sol
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,10 @@ contract HashConsensus is AccessControlEnumerable {
/// Report processor
///

function getReportProcessor() external view returns (address) {
return _reportProcessor;
}

function setReportProcessor(address newProcessor)
external
onlyRole(MANAGE_REPORT_PROCESSOR_ROLE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ contract HashConsensusTimeTravellable is HashConsensus {
_time += SECONDS_PER_SLOT * SLOTS_PER_EPOCH * numEpochs;
}

function getReportProcessor() external view returns (address) {
return _reportProcessor;
}

function getConsensusVersion() external view returns (uint256) {
return _getConsensusVersion();
}
Expand Down
Loading

0 comments on commit ac06171

Please sign in to comment.