good morning!!!!

Skip to content
Snippets Groups Projects
Commit f82185a4 authored by Ferenc Szabo's avatar Ferenc Szabo Committed by Viktor Trón
Browse files

p2p/protocols: fix data race in TestProtocolHook (#19242)

dummyHook's fields were concurrently written by nodes and read by
the test. The simplest solution is to protect all fields with a mutex.

Enable: TestMultiplePeersDropSelf, TestMultiplePeersDropOther as they
seemingly accidentally stayed disabled during a refactor/rewrite
since 1836366a.

resolves ethersphere/go-ethereum#1286
parent bb55b0fb
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment