@lavarage/sdk 7.4.3 → 7.4.4
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5068,7 +5068,7 @@ var openTradeV2 = (lavarageProgram, offer, jupInstruction, marginSOL, leverage,
|
|
|
5068
5068
|
}
|
|
5069
5069
|
] : []
|
|
5070
5070
|
).instruction();
|
|
5071
|
-
const openAddCollateralInstruction = yield lavarageProgram.methods.tradingOpenAddCollateral(offer.account.interestRate).accountsStrict({
|
|
5071
|
+
const openAddCollateralInstruction = yield lavarageProgram.methods.tradingOpenAddCollateral(offer.account.interestRate < 255 ? offer.account.interestRate + 1 : 255).accountsStrict({
|
|
5072
5072
|
tradingPool: offer.publicKey,
|
|
5073
5073
|
trader: lavarageProgram.provider.publicKey,
|
|
5074
5074
|
mint: offer.account.collateralType,
|