py-libp2p/newsfragments/387.bugfix.rst

1 line
127 B
ReStructuredText
Raw Normal View History

2019-12-17 19:09:15 +08:00
Store peer ids in ``set`` instead of ``list`` and check if peer id exists in ``dict`` before accessing to prevent ``KeyError``.