mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
Update contracts/mainnet/connectors/socket/main.sol
This commit is contained in:
parent
22c7cd8ef4
commit
c106c00090
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user