mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Merge pull request #69 from jarednielsen/patch-1
Fix example import in README
This commit is contained in:
commit
c15cd9f930
|
@ -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);
|
||||||
{...}
|
{...}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user