Skip to content

Commit

Permalink
fix: bad prop ref for event_name on ContractLog
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeshultz committed Dec 5, 2023
1 parent 9ff7afd commit 91db9dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion silverback/middlewares.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def resolve_task(message: TaskiqMessage) -> Tuple[str, Optional[int], Optional[i
elif "event" in task_id:
block_number = message.args[0].block_number
log_index = message.args[0].log_index
task_id = handler_id_event(message.args[0].contract_address, message.args[0].abi.name)
task_id = handler_id_event(message.args[0].contract_address, message.args[0].event_name)

return task_id, block_number, log_index

Expand Down

0 comments on commit 91db9dc

Please sign in to comment.