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>
This commit is contained in:
5
.changeset/gorgeous-apes-jam.md
Normal file
5
.changeset/gorgeous-apes-jam.md
Normal file
@ -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.
|
* @dev Contract might receive/hold ETH as part of the maintenance process.
|
||||||
*/
|
*/
|
||||||
receive() external payable {}
|
receive() external payable virtual {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @dev See {IERC165-supportsInterface}.
|
* @dev See {IERC165-supportsInterface}.
|
||||||
|
|||||||
Reference in New Issue
Block a user