Rename return parameter (#3413)
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user