@lavarage/sdk 6.8.5 → 6.8.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/index.js CHANGED
@@ -1281,7 +1281,7 @@ function withdrawFunds(lavarageProgram, params) {
1281
1281
  function createOffer(lavarageProgram, params) {
1282
1282
  return __async(this, null, function* () {
1283
1283
  let nodeWalletAccount, nodeWalletSigner, createNodeWalletInstruction, nodeWalletPubKey;
1284
- if (params.mint === "So11111111111111111111111111111111111111112") {
1284
+ if (params.quoteMint === "So11111111111111111111111111111111111111112") {
1285
1285
  const nodeWallets = yield lavarageProgram.account.nodeWallet.all();
1286
1286
  nodeWalletAccount = nodeWallets.find(
1287
1287
  (wallet) => wallet.account.nodeOperator.equals(new import_web3.PublicKey(params.poolOwner))