Removed change on calculateUserAccountData

This commit is contained in:
The3D 2020-07-24 14:57:52 +02:00
parent fa60f03d8d
commit 8d1d06bbdd

View File

@ -156,8 +156,7 @@ library GenericLogic {
{
CalculateUserAccountDataVars memory vars;
vars.reservesLength = _reserves.length;
for (vars.i = 0; vars.i < vars.reservesLength; vars.i++) {
for (vars.i = 0; vars.i < _reserves.length; vars.i++) {
vars.currentReserveAddress = _reserves[vars.i];
ReserveLogic.ReserveData storage currentReserve = _reservesData[vars.currentReserveAddress];