ton-watcher
Advanced tools
Comparing version 1.2.8 to 1.2.9
@@ -351,2 +351,3 @@ "use strict"; | ||
} | ||
let tryes = 0; | ||
const seqno = await this.getSeqNo(); | ||
@@ -370,2 +371,6 @@ const messageHash = message.hash().toString('hex'); | ||
} | ||
tryes++; | ||
if (tryes > 20) { | ||
throw new Error('Seqno is not changed in 2 min'); | ||
} | ||
await (0, common_helpers_1.wait)(5000); | ||
@@ -372,0 +377,0 @@ } |
{ | ||
"name": "ton-watcher", | ||
"version": "1.2.8", | ||
"version": "1.2.9", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -466,3 +466,3 @@ import { TonClient4, WalletContractV5R1, internal, SendMode, OpenedContract, Address, JettonMaster, JettonWallet, beginCell, toNano, external, Cell, storeMessage } from "@ton/ton"; | ||
} | ||
let tryes = 0; | ||
const seqno = await this.getSeqNo(); | ||
@@ -489,2 +489,6 @@ | ||
} | ||
tryes++; | ||
if (tryes > 20) { | ||
throw new Error('Seqno is not changed in 2 min'); | ||
} | ||
await wait(5000); | ||
@@ -491,0 +495,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
335464
5555