Skip to content

Commit

Permalink
Update src/transport/msg_providers/onchain_transport.py
Browse files Browse the repository at this point in the history
Co-authored-by: Raman Siamionau <[email protected]>
  • Loading branch information
hweawer and F4ever authored Sep 30, 2024
1 parent 32d107a commit ed60189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transport/msg_providers/onchain_transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class UnvetParser(EventParser):
def __init__(self, w3: Web3):
super().__init__(w3, UNVET_V1_DATA_SCHEMA)

def _create_message(self, parsed_data: tuple, guardian: str) -> dict:
def _create_message(self, parsed_data: tuple, guardian: str) -> UnvetMessage:
block_number, block_hash, staking_module_id, nonce, operator_ids, vetted_keys_by_operator, (r, vs), app = parsed_data
return UnvetMessage(
type=MessageType.UNVET,
Expand Down

0 comments on commit ed60189

Please sign in to comment.