Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions async_substrate_interface/async_substrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1394,6 +1394,8 @@ async def result_handler(
response["result"]["block"], block_data_hash=block_hash
)

get_block_handler = _get_block_handler

async def get_block(
self,
block_hash: Optional[str] = None,
Expand Down
2 changes: 2 additions & 0 deletions async_substrate_interface/sync_substrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1141,6 +1141,8 @@ def result_handler(message: dict, subscription_id: str) -> tuple[Any, bool]:
response["result"]["block"], block_data_hash=block_hash
)

get_block_handler = _get_block_handler

def get_block(
self,
block_hash: Optional[str] = None,
Expand Down
Loading