jamesob/tinychain

Consider change the type annotation of active_chain to List[Block]

Opened this issue · 0 comments

As Python typing document shows, An iterable type may not be proper for "getitem"" call, we may change it to List[Block] for better type checking.

https://docs.python.org/3/library/collections.abc.html