Skip to content

Commit

Permalink
Rename return parameter (#3413)
Browse files Browse the repository at this point in the history
  • Loading branch information
martriay committed May 19, 2022
1 parent c2077f0 commit 46db8a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/governance/TimelockController.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 46db8a9

Please sign in to comment.