self._send_recv_task in substrate get_block can be None
Closed this issue · 1 comments
Arthurdw commented
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.