We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb4ce8e commit a4f1471Copy full SHA for a4f1471
contracts/wrappers/SetStepFunctionWrapper.sol
@@ -14,9 +14,12 @@ interface SetStepFunctionInterface {
14
) public;
15
}
16
17
-contract SetStepFunctionWrapper2 is Withdrawable {
+contract SetStepFunctionWrapper is Withdrawable {
18
SetStepFunctionInterface public rateContract;
19
function SetStepFunctionWrapper(address admin, address operator) public {
20
+ require(admin != address(0));
21
+ require(operator != (address(0)));
22
+
23
addOperator(operator);
24
transferAdminQuickly(admin);
25
0 commit comments