Skip to content

Commit d42dbd9

Browse files
committed
fix mypy err
1 parent 42327ac commit d42dbd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

faster_web3/eth/async_eth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ async def send_raw_transaction(self, transaction: Union[HexStr, bytes]) -> HexBy
452452

453453
async def get_block(
454454
self, block_identifier: BlockIdentifier, full_transactions: bool = False
455-
) -> BlockData:
455+
) -> Union[BlockData, AttributeDict]:
456456
return await self._get_block(block_identifier, full_transactions)
457457

458458
# eth_getBlockReceipts

0 commit comments

Comments
 (0)