mirror of
https://github.com/Instadapp/dsa-resolvers-deprecated.git
synced 2024-07-29 22:38:16 +00:00
Minor change
This commit is contained in:
parent
d15c380e75
commit
06f669e473
|
@ -251,8 +251,8 @@ contract Resolver is UniswapHelpers {
|
|||
}
|
||||
|
||||
struct TokenPair {
|
||||
TokenInterface tokenA;
|
||||
TokenInterface tokenB;
|
||||
address tokenA;
|
||||
address tokenB;
|
||||
}
|
||||
|
||||
struct PoolData {
|
||||
|
@ -271,8 +271,7 @@ contract Resolver is UniswapHelpers {
|
|||
uint _len = tokenPairs.length;
|
||||
PoolData[] memory poolData = new PoolData[](_len);
|
||||
for (uint i = 0; i < _len; i++) {
|
||||
TokenInterface tokenA = tokenPairs[i].tokenA;
|
||||
TokenInterface tokenB = tokenPairs[i].tokenB;
|
||||
(TokenInterface tokenA, TokenInterface tokenB) = changeEthAddress(tokenPairs[i].tokenA, tokenPairs[i].tokenB);
|
||||
address exchangeAddr = IUniswapV2Factory(router.factory()).getPair(
|
||||
address(tokenA),
|
||||
address(tokenB)
|
||||
|
|
Loading…
Reference in New Issue
Block a user