Skip to content

Commit 6d1dbd6

Browse files
committed
style: use type decoration instead of casting
1 parent a2be98f commit 6d1dbd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/statechannels/GRTAssetHolder.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ contract GRTAssetHolder is ERC20AssetHolder {
1515
constructor(
1616
address _AdjudicatorAddress,
1717
address _TokenAddress,
18-
address _ControllerAddress
18+
IController _Controller
1919
) public ERC20AssetHolder(_AdjudicatorAddress, _TokenAddress) {
2020
AdjudicatorAddress = _AdjudicatorAddress;
21-
Controller = IController(_ControllerAddress);
21+
Controller = _Controller;
2222
}
2323

2424
function staking() public view returns (IStaking) {

0 commit comments

Comments
 (0)