@jup-ag/lend 0.0.103 → 0.0.104
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/borrow/index.mjs +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/borrow/index.mjs
CHANGED
|
@@ -2176,8 +2176,8 @@ async function getRemainingAccountsLiquidate(vaultId, vaultState, vaultConfig, o
|
|
|
2176
2176
|
const remainingAccounts = [];
|
|
2177
2177
|
const { oraclePriceLiquidate, oracleSources } = await readOraclePrice({
|
|
2178
2178
|
oracle: vaultConfig.oracle,
|
|
2179
|
-
connection
|
|
2180
|
-
signer
|
|
2179
|
+
connection
|
|
2180
|
+
// signer,
|
|
2181
2181
|
});
|
|
2182
2182
|
const liquidationRatio = new BN(oraclePriceLiquidate).mul(new BN(281474976710656)).div(new BN(10).pow(new BN(15)));
|
|
2183
2183
|
const liquidationThresholdRatio = liquidationRatio.mul(new BN(vaultConfig.liquidationThreshold)).div(new BN(10).pow(new BN(3)));
|
package/dist/index.mjs
CHANGED