Skip to content

Commit

Permalink
fix optionals
Browse files Browse the repository at this point in the history
  • Loading branch information
droserasprout committed Jan 14, 2025
1 parent 60a8d68 commit 79813d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dipdup/models/substrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def payload(self) -> PayloadT:
payload = self.data.decoded_args
elif self.data.args is not None and self.data.header_extra is not None:
payload = self.runtime.decode_event_args(
name=self.name,
name=self.data.name,
args=self.data.args,
spec_version=str(self.data.header_extra['specVersion']),
)
Expand Down

0 comments on commit 79813d2

Please sign in to comment.