Skip to content

Commit 5299f9b

Browse files
committed
Fix default borrow task
1 parent 9c2e789 commit 5299f9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardhat.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ task("sign-borrow", "Sign a Liquidity Pool borrow request for testing purposes")
8888
const borrowToken = args.token || config.USDC;
8989
const amount = args.amount || "1000000";
9090
const target = args.target || borrowToken;
91-
const data = args.data || (await token.transferFrom.populateTransaction(pool, signer.address, amount)).data;
91+
const data = args.data || (await token.transfer.populateTransaction(signer.address, amount)).data;
9292
const nonce = args.nonce || `${Date.now()}`;
9393
const deadline = args.deadline || "2000000000";
9494
const value = {

0 commit comments

Comments
 (0)