Make `TimelockController` receive function virtual (#5506)

Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
pull/2274/head
Joseph Delong 2 days ago committed by GitHub
parent fa8bed68af
commit f281e98c94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      .changeset/gorgeous-apes-jam.md
  2. 2
      contracts/governance/TimelockController.sol

@ -0,0 +1,5 @@
---
'openzeppelin-solidity': minor
---
`TimelockController`: Receive function is now virtual.

@ -152,7 +152,7 @@ contract TimelockController is AccessControl, ERC721Holder, ERC1155Holder {
/**
* @dev Contract might receive/hold ETH as part of the maintenance process.
*/
receive() external payable {}
receive() external payable virtual {}
/**
* @dev See {IERC165-supportsInterface}.

Loading…
Cancel
Save