mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
final fix for ETH balance calculations in getUserWalletBalances
This commit is contained in:
parent
ef98aadd66
commit
6a3695c5b7
|
@ -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