@kamino-finance/klend-sdk 2.13.5 → 2.13.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/classes/action.js
CHANGED
|
@@ -700,7 +700,7 @@ class KaminoAction {
|
|
|
700
700
|
userDestinationLiquidity: this.additionalTokenAccountAddress,
|
|
701
701
|
borrowReserveLiquidityFeeReceiver: this.outflowReserve.state.liquidity.feeVault,
|
|
702
702
|
referrerTokenState: (0, utils_1.referrerTokenStatePda)(this.referrer, this.outflowReserve.address, this.kaminoMarket.programId)[0],
|
|
703
|
-
tokenProgram: this.
|
|
703
|
+
tokenProgram: this.outflowReserve.getLiquidityTokenProgram(),
|
|
704
704
|
instructionSysvarAccount: web3_js_1.SYSVAR_INSTRUCTIONS_PUBKEY,
|
|
705
705
|
}, this.kaminoMarket.programId);
|
|
706
706
|
borrowIx.keys = borrowIx.keys.concat([...depositReserveAccountMetas]);
|
|
@@ -757,7 +757,7 @@ class KaminoAction {
|
|
|
757
757
|
userDestinationLiquidity: this.additionalTokenAccountAddress,
|
|
758
758
|
placeholderUserDestinationCollateral: this.kaminoMarket.programId,
|
|
759
759
|
collateralTokenProgram: spl_token_1.TOKEN_PROGRAM_ID,
|
|
760
|
-
liquidityTokenProgram: this.
|
|
760
|
+
liquidityTokenProgram: this.outflowReserve.getLiquidityTokenProgram(),
|
|
761
761
|
instructionSysvarAccount: web3_js_1.SYSVAR_INSTRUCTIONS_PUBKEY,
|
|
762
762
|
}, this.kaminoMarket.programId));
|
|
763
763
|
});
|