Skip to content

Commit 3ba9922

Browse files
committed
Fix outdated comment
1 parent 43e4f4e commit 3ba9922

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

contracts/contract/network/RocketNetworkRevenues.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ contract RocketNetworkRevenues is RocketBase, RocketNetworkRevenuesInterface {
128128
/// @param _nodeAddress Address of the node operator
129129
/// @param _value New capital ratio
130130
function setNodeCapitalRatio(address _nodeAddress, uint256 _value) external override onlyRegisteredMegapool(msg.sender) onlyLatestContract("rocketNetworkRevenues", address(this)) {
131-
// Sanity check that ratio should never be below 1
131+
// Sanity check that ratio should be between 0 and 1
132132
require(_value <= 1 ether, "Invalid capital ratio");
133133
// Compute the key
134134
bytes32 key = keccak256(abi.encodePacked("node.capital.ratio", _nodeAddress));

0 commit comments

Comments
 (0)