Skip to content

Commit cc03543

Browse files
Skip backtracked operations received from SignalR (#74)
1 parent 3fe8785 commit cc03543

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/dipdup/datasources/tzkt/datasource.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,8 @@ async def on_operation_message(
574574
operations = []
575575
for operation_json in item['data']:
576576
operation = self.convert_operation(operation_json)
577+
if operation.status != 'applied':
578+
continue
577579
operations.append(operation)
578580
self.emit("operations", operations)
579581

0 commit comments

Comments
 (0)