Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix critical unintentional variable name reuse
In `devp2p.discovery.recv_neighbours()` the variable `node` (ostensibly containing the sender node) was reused as a temporary variable inside a for loop. Depending on the order of the `neighbours_lst` this lead in many cases to neighbour information being attributed to the wrong sender node. Thanks to @konradkonrad for the pair debugging :) Refs: HydraChain/hydrachain#73
- Loading branch information
c492b00
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome!