Merge branch 'main' into repay-partially
This commit is contained in:
commit
ddf0608859
|
@ -152,6 +152,7 @@ export const borrow = async (
|
||||||
fromLamports = amountLamports;
|
fromLamports = amountLamports;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const fromAccount = ensureSplAccount(
|
const fromAccount = ensureSplAccount(
|
||||||
instructions,
|
instructions,
|
||||||
finalCleanupInstructions,
|
finalCleanupInstructions,
|
||||||
|
@ -201,7 +202,7 @@ export const borrow = async (
|
||||||
fromAccount,
|
fromAccount,
|
||||||
wallet.publicKey,
|
wallet.publicKey,
|
||||||
fromLamports,
|
fromLamports,
|
||||||
false
|
false,
|
||||||
);
|
);
|
||||||
signers.push(transferAuthority);
|
signers.push(transferAuthority);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue