mirror of
https://github.com/Instadapp/dsa-resolvers-deprecated.git
synced 2024-07-29 22:38:16 +00:00
minor fix
This commit is contained in:
parent
8c2a862de0
commit
5f7b4913de
|
@ -152,6 +152,7 @@ contract Resolver is Helpers {
|
|||
}
|
||||
|
||||
function getPosition(address user, address[] memory pools) public view returns(UserData[] memory _data) {
|
||||
_data = new UserData[](pools.length);
|
||||
for (uint i = 0; i < pools.length; i++) {
|
||||
_data[i] = getSinglePosition(user, pools[i]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user