@clonegod/ttd-sol-common 1.0.166 → 1.0.168

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.
@@ -598,7 +598,7 @@ class RpcClient {
598
598
  }
599
599
  const send_result = yield (0, dist_1.postJSON)(send_tx_jito_url, {
600
600
  encoding,
601
- encoded_tx: serializedMainTx,
601
+ encoded_tx,
602
602
  txid,
603
603
  trace_id: '',
604
604
  group_id
@@ -89,6 +89,9 @@ class TransactionResultChecker {
89
89
  const check_start_time = Date.now();
90
90
  const check_interval = parseInt(process.env.CHECK_TX_RESULT_INTERVAL_MILLS || '2000');
91
91
  const check_timeout = parseInt(process.env.CHECK_TX_RESULT_TIMEOUT_MILLS || '10000');
92
+ if (check_interval >= check_timeout) {
93
+ return;
94
+ }
92
95
  const intervalId = setInterval(() => __awaiter(this, void 0, void 0, function* () {
93
96
  this.check_count += 1;
94
97
  (0, dist_1.log_info)(`check transaction start: seq=[${this.check_count}], txhash= ${this.txid}, trace_id=${this.trace_id}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-sol-common",
3
- "version": "1.0.166",
3
+ "version": "1.0.168",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "types/index.d.ts",