ton-watcher
Advanced tools
Comparing version 1.0.10 to 1.0.11
@@ -76,3 +76,6 @@ "use strict"; | ||
} | ||
if (!this.last_lt || BigInt(this.last_lt) < all_txs[0].lt) { | ||
if (!all_txs.length) { | ||
return; | ||
} | ||
if (!this.last_lt || BigInt(this.last_lt) < all_txs[0]?.lt) { | ||
this.last_lt = all_txs[0].lt.toString(); | ||
@@ -79,0 +82,0 @@ this.last_hash = all_txs[0].hash().toString('hex'); |
{ | ||
"name": "ton-watcher", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -104,3 +104,7 @@ import { Address, TonClient, Transaction } from "@ton/ton"; | ||
if (!this.last_lt || BigInt(this.last_lt) < all_txs[0].lt) { | ||
if (!all_txs.length) { | ||
return; | ||
} | ||
if (!this.last_lt || BigInt(this.last_lt) < all_txs[0]?.lt) { | ||
this.last_lt = all_txs[0].lt.toString(); | ||
@@ -107,0 +111,0 @@ this.last_hash = all_txs[0].hash().toString('hex'); |
Sorry, the diff of this file is not supported yet
110064
1822