@clonegod/ttd-sol-common 1.0.27 → 1.0.28

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.
@@ -408,6 +408,9 @@ class RpcClient {
408
408
  }
409
409
  }), 0);
410
410
  let priorityFeeEstimate = solana_trade_runtime.cu_price;
411
+ if (solana_trade_runtime.settings.strategy.broadcast_type === 'jito') {
412
+ priorityFeeEstimate = 1;
413
+ }
411
414
  const computeBudgetIx = web3_js_1.ComputeBudgetProgram.setComputeUnitPrice({
412
415
  microLamports: priorityFeeEstimate,
413
416
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-sol-common",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "types/index.d.ts",