Skip to content

Commit adda0ea

Browse files
author
Beau Shinkle
committed
An empty address... -> A zero address...
1 parent 2ee4b60 commit adda0ea

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

contracts/SortitionTree.sol

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,16 @@ contract SortitionTree {
7979
return operatorID[operator];
8080
}
8181

82-
/// @notice Get the operator address corresponding to the given ID number. An
83-
/// empty address means the ID number has not been allocated yet.
82+
/// @notice Get the operator address corresponding to the given ID number. A
83+
/// zero address means the ID number has not been allocated yet.
8484
/// @param id ID of the operator
8585
/// @return the address of the operator
8686
function getIDOperator(uint32 id) public view returns (address) {
8787
return idAddress.length > id ? idAddress[id] : address(0);
8888
}
8989

90-
/// @notice Gets the operator addresses corresponding to the given ID
91-
/// numbers. An empty address means the ID number has not been allocated yet.
90+
/// @notice Gets the operator addresses corresponding to the given ID
91+
/// numbers. A zero address means the ID number has not been allocated yet.
9292
/// This function works just like getIDOperator except that it allows to fetch
9393
/// operator addresses for multiple IDs in one call.
9494
/// @param ids the array of the operator ids

0 commit comments

Comments
 (0)