@magmaprotocol/magma-clmm-sdk 0.5.72 → 0.5.74

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
@@ -6899,7 +6899,7 @@ var RewarderModule = class {
6899
6899
  coinAInput = {
6900
6900
  targetCoin: inputCoinA,
6901
6901
  remainCoins: [],
6902
- isMintZeroCoin: false,
6902
+ isMintZeroCoin: true,
6903
6903
  tragetCoinAmount: "0"
6904
6904
  };
6905
6905
  coinIdMaps.push({ coin: coinAInput, coin_addr: coinTypeA });
@@ -6912,7 +6912,7 @@ var RewarderModule = class {
6912
6912
  coinBInput = {
6913
6913
  targetCoin: inputCoinB,
6914
6914
  remainCoins: [],
6915
- isMintZeroCoin: false,
6915
+ isMintZeroCoin: true,
6916
6916
  tragetCoinAmount: "0"
6917
6917
  };
6918
6918
  }
@@ -6943,9 +6943,7 @@ var RewarderModule = class {
6943
6943
  tx = this.createCollectRewarderNoSendPaylod(item, tx, primaryCoinInputs);
6944
6944
  });
6945
6945
  coinIdMaps.forEach((item) => {
6946
- if (item.coin.isMintZeroCoin) {
6947
- TransactionUtil.buildTransferCoin(this._sdk, tx, item.coin.targetCoin, item.coin_addr, this._sdk.senderAddress);
6948
- }
6946
+ TransactionUtil.buildTransferCoin(this._sdk, tx, item.coin.targetCoin, item.coin_addr, this._sdk.senderAddress);
6949
6947
  });
6950
6948
  return tx;
6951
6949
  }