Skip to content
Unverified Commit bb91bedf authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Do not send messages twice in bitfield distribution (#2005)

* Do not send messages twice in bitfield distribution

This removes a bug which resulted in sending bitfield messages multiple
times by not checking if we already relayed them. Besides that it also
adds an optimization to not relay a message to a peer that send us
this message.

* Review comments

* Break some lines
parent ede19593
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment