Rename return parameter (#3413)

This commit is contained in:
Martín Triay
2022-05-19 15:52:54 +02:00
committed by GitHub
parent c2077f0034
commit 46db8a98b0

View File

@ -131,7 +131,7 @@ contract TimelockController is AccessControl, IERC721Receiver, IERC1155Receiver
* @dev Returns whether an id correspond to a registered operation. This
* includes both Pending, Ready and Done operations.
*/
function isOperation(bytes32 id) public view virtual returns (bool pending) {
function isOperation(bytes32 id) public view virtual returns (bool registered) {
return getTimestamp(id) > 0;
}