@meteora-ag/dlmm 1.0.35-rc.6 → 1.0.35-rc.8

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 CHANGED
@@ -6948,12 +6948,15 @@ var DLMM = class {
6948
6948
  program.programId
6949
6949
  );
6950
6950
  const account = await program.account.lbPair.fetchNullable(lbPairKey);
6951
- if (!account) {
6952
- return null;
6953
- }
6954
- if (account.parameters.baseFactor === baseFactor.toNumber()) {
6951
+ console.log(
6952
+ "\u{1F680} ~ DLMM ~ account:",
6953
+ account.parameters,
6954
+ baseFactor.toNumber()
6955
+ );
6956
+ if (account && account.parameters.baseFactor === baseFactor.toNumber()) {
6955
6957
  return lbPairKey;
6956
6958
  }
6959
+ return null;
6957
6960
  } catch (error) {
6958
6961
  console.log("\u{1F680} ~ DLMM ~ error:", error);
6959
6962
  return null;