py-libp2p/newsfragments/387.bugfix.rst
2019-12-17 19:09:15 +08:00

1 line
127 B
ReStructuredText

Store peer ids in ``set`` instead of ``list`` and check if peer id exists in ``dict`` before accessing to prevent ``KeyError``.