Skip to content

self._send_recv_task in substrate get_block can be None #181

@Arthurdw

Description

@Arthurdw

Sometimes, when calling the substrate.get_block(block_hash=block_hash) the self._send_recv_task in the AsyncSubstrateInterface will be None. So the .done() attr doesn't exist.

This causes unexpected runtime errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions