Skip to content

Commit b1df0c2

Browse files
authored
fix: _useNonce documentation in NoncesKeyed (#6198)
1 parent bc9659f commit b1df0c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/utils/NoncesKeyed.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ abstract contract NoncesKeyed is Nonces {
2424
/**
2525
* @dev Consumes the next unused nonce for an address and key.
2626
*
27-
* Returns the current value without the key prefix. Consumed nonce is increased, so calling this function twice
27+
* Returns the current value with the key prefix (i.e. the packed keyNonce). Consumed nonce is increased, so calling this function twice
2828
* with the same arguments will return different (sequential) results.
2929
*/
3030
function _useNonce(address owner, uint192 key) internal virtual returns (uint256) {

0 commit comments

Comments
 (0)