simplify constructor (#145)

pull/147/head
Sally MacFarlane 5 years ago committed by GitHub
parent e21de97377
commit 2728bacb9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      contracts/AccountRules.sol
  2. 4
      contracts/NodeRules.sol

@ -29,8 +29,8 @@ contract AccountRules is AccountRulesProxy, AccountRulesList {
_;
}
constructor (address ingressAddress) public {
ingressContract = AccountIngress(ingressAddress);
constructor (AccountIngress _ingressContract) public {
ingressContract = _ingressContract;
add(msg.sender);
}

@ -45,8 +45,8 @@ contract NodeRules is NodeRulesProxy, NodeRulesList {
_;
}
constructor (address nodeIngressAddress) public {
nodeIngressContract = NodeIngress(nodeIngressAddress);
constructor (NodeIngress _nodeIngressAddress) public {
nodeIngressContract = _nodeIngressAddress;
}
// VERSION

Loading…
Cancel
Save