Skip to content

Commit

Permalink
Fix ws token subscriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
MS committed Aug 2, 2022
1 parent a4ad4ec commit 2216a7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Tzkt.Api/Websocket/Processors/TokenBalancesProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public async Task OnStateChanged()
if (Limits.Count == 0)
{
Logger.LogDebug("No token balances subs");
LastId = State.Current.OperationCounter;
return;
}

Expand Down
1 change: 1 addition & 0 deletions Tzkt.Api/Websocket/Processors/TokenTransfersProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public async Task OnStateChanged()
if (Limits.Count == 0)
{
Logger.LogDebug("No token transfers subs");
LastId = State.Current.OperationCounter;
return;
}

Expand Down

0 comments on commit 2216a7c

Please sign in to comment.