Skip to content

Commit

Permalink
Fix Subscriber.trace
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexagon committed Dec 30, 2022
1 parent 5fde885 commit 0fbb4b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "everscale-inpage-provider",
"version": "0.3.47",
"version": "0.3.48",
"description": "Web3-like interface to the Everscale blockchain",
"repository": "https://github.com/broxus/everscale-inpage-provider",
"main": "dist/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ class UnorderedTransactionsScanner implements Scanner {
} as TransactionsBatchInfo;

this.queue.enqueue(async () => {
const isRunning = this.params.onData({
const isRunning = await this.params.onData({
address: this.params.address,
transactions: filteredTransactions,
info,
Expand Down Expand Up @@ -994,7 +994,7 @@ class TraceTransactionsScanner implements Scanner {
}

this.queue.enqueue(async () => {
const isRunning = this.params.onData(childTransaction);
const isRunning = await this.params.onData(childTransaction);
if (!isRunning) {
state.complete = true;
this.isRunning = false;
Expand Down

0 comments on commit 0fbb4b2

Please sign in to comment.