Merge pull request #69 from jarednielsen/patch-1

Fix example import in README
This commit is contained in:
The-3D 2021-04-08 20:00:20 +02:00 committed by GitHub
commit c15cd9f930
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,8 +53,8 @@ import {ILendingPool} from "@aave/protocol-v2/contracts/interfaces/ILendingPool.
contract Misc { contract Misc {
function deposit(address pool, address token, address user, uint256 amount) { function deposit(address pool, address token, address user, uint256 amount) public {
ILendingPool(pool).deposit(token, amount, user, '0'); ILendingPool(pool).deposit(token, amount, user, 0);
{...} {...}
} }
} }