Skip to content

Commit

Permalink
Add natspec
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkeating committed Mar 19, 2024
1 parent f56c174 commit 794d55d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/UniStaker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,7 @@ contract UniStaker is INotifiableRewardReceiver, Multicall, EIP712, Nonces {
emit RewardNotified(_amount, msg.sender);
}

/// @notice Allows an address to increment their nonce and therefore invalidate any pending signed actions.
function invalidateNonce() external {
_useNonce(msg.sender);
}
Expand Down

0 comments on commit 794d55d

Please sign in to comment.