mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Merge branch 'fix/wb-provider-eth-mock' into 'master'
Final fix for ETH balance calculations in getUserWalletBalances See merge request aave-tech/protocol-v2!138
This commit is contained in:
commit
e907f91742
|
@ -107,7 +107,7 @@ contract WalletBalanceProvider {
|
|||
}
|
||||
balances[j] = balanceOf(user, reservesWithEth[j]);
|
||||
}
|
||||
balances[reservesWithEth.length] = balanceOf(user, MOCK_ETH_ADDRESS);
|
||||
balances[reserves.length] = balanceOf(user, MOCK_ETH_ADDRESS);
|
||||
|
||||
return (reservesWithEth, balances);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user