tbtcSystemAddress -> tbtcSystem
@@ -5,13 +5,13 @@ contract TBTCSystemAuthority {
address internal _tbtcSystem;
/// @notice Set the address of the System contract on contract initialization
- constructor(address _tbtcSystemAddress) public {
- _tbtcSystem = _tbtcSystemAddress;
+ constructor(address _tbtcSystem) public {
+ _tbtcSystem = _tbtcSystem;
}
/// @notice Function modifier ensures modified function is only called by set deeposit factory
modifier onlyTbtcSystem(){
- require(msg.sender == _tbtcSystemAddress, "Caller must be depositFactory contract");
+ require(msg.sender == _tbtcSystem, "Caller must be depositFactory contract");
_;
}
}
\ No newline at end of file
