From c106c00090c45fcff9dc8ad2a5588af0056a6cb3 Mon Sep 17 00:00:00 2001 From: Thrilok kumar Date: Fri, 10 Jun 2022 22:49:38 +0530 Subject: [PATCH] Update contracts/mainnet/connectors/socket/main.sol --- contracts/mainnet/connectors/socket/main.sol | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contracts/mainnet/connectors/socket/main.sol b/contracts/mainnet/connectors/socket/main.sol index 2eeb39f6..eb8d6773 100644 --- a/contracts/mainnet/connectors/socket/main.sol +++ b/contracts/mainnet/connectors/socket/main.sol @@ -37,8 +37,7 @@ abstract contract SocketConnectorResolver is SocketConnectorBridge { * @param _route route number */ function getAllowanceTarget(uint _route) internal view returns (address _allowanceTarget) { - ISocketRegistry registryContr = ISocketRegistry(0xc30141B657f4216252dc59Af2e7CdB9D8792e1B0); - ISocketRegistry.RouteData memory data = registryContr.routes(_route); + ISocketRegistry.RouteData memory data = ISocketRegistry(registry).routes(_route); return data.route; } }