Skip to content

Commit a4f1471

Browse files
authored
fix contract name, require correct addresses on ctor (#585)
1 parent eb4ce8e commit a4f1471

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

contracts/wrappers/SetStepFunctionWrapper.sol

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@ interface SetStepFunctionInterface {
1414
) public;
1515
}
1616

17-
contract SetStepFunctionWrapper2 is Withdrawable {
17+
contract SetStepFunctionWrapper is Withdrawable {
1818
SetStepFunctionInterface public rateContract;
1919
function SetStepFunctionWrapper(address admin, address operator) public {
20+
require(admin != address(0));
21+
require(operator != (address(0)));
22+
2023
addOperator(operator);
2124
transferAdminQuickly(admin);
2225
}

0 commit comments

Comments
 (0)