Skip to content

Commit

Permalink
fix: disable warning for unused report values
Browse files Browse the repository at this point in the history
  • Loading branch information
failingtwice committed Nov 29, 2024
1 parent d2c8008 commit ebbad1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/0.8.25/vaults/Delegation.sol
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ contract Delegation is Dashboard, IReportReceiver {
* @param _inOutDelta The net inflow or outflow since the last report.
* @param _locked The amount of funds locked in the vault.
*/
// solhint-disable-next-line no-unused-vars
function onReport(uint256 _valuation, int256 _inOutDelta, uint256 _locked) external {
if (msg.sender != address(stakingVault)) revert OnlyStVaultCanCallOnReportHook();

Expand Down

0 comments on commit ebbad1a

Please sign in to comment.