diff --git a/interfaces/IIsmpModule.sol b/interfaces/IIsmpModule.sol index e6018eb..e94ab1d 100644 --- a/interfaces/IIsmpModule.sol +++ b/interfaces/IIsmpModule.sol @@ -82,10 +82,10 @@ abstract contract BaseIsmpModule is IIsmpModule { } constructor() { - address host = host(); - if (host != address(0)) { + address hostAddr = host(); + if (hostAddr != address(0)) { // approve the host infintely - IERC20(IIsmpHost(host).feeToken()).approve(host, type(uint256).max); + IERC20(IIsmpHost(hostAddr).feeToken()).approve(hostAddr, type(uint256).max); } } diff --git a/package.json b/package.json index 78a6a2f..ed2d28b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@polytope-labs/ismp-solidity", - "version": "0.6.8", + "version": "0.6.9", "description": "Hyperbridge Solidity SDK for the Interoperable state machine protocol", "author": "Polytope Labs ", "license": "Apache-2.0", @@ -33,4 +33,4 @@ "prettier": "^3.3.3", "prettier-plugin-solidity": "^1.3.1" } -} +} \ No newline at end of file