aboutsummaryrefslogtreecommitdiffstats
path: root/log
diff options
context:
space:
mode:
authorFerenc Szabo <frncmx@gmail.com>2019-03-09 00:30:16 +0800
committerViktor TrĂ³n <viktor.tron@gmail.com>2019-03-09 00:30:16 +0800
commitf82185a4a186835e69dbbf2ed6117d116757da34 (patch)
tree79d51a0abd3c529422132d489c3fd0d9ecad14da /log
parentbb55b0fb5318faf45f3774fac0b412d0594e1661 (diff)
downloadgo-tangerine-f82185a4a186835e69dbbf2ed6117d116757da34.tar
go-tangerine-f82185a4a186835e69dbbf2ed6117d116757da34.tar.gz
go-tangerine-f82185a4a186835e69dbbf2ed6117d116757da34.tar.bz2
go-tangerine-f82185a4a186835e69dbbf2ed6117d116757da34.tar.lz
go-tangerine-f82185a4a186835e69dbbf2ed6117d116757da34.tar.xz
go-tangerine-f82185a4a186835e69dbbf2ed6117d116757da34.tar.zst
go-tangerine-f82185a4a186835e69dbbf2ed6117d116757da34.zip
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 1836366ac19e30f157570e61342fae53bc6c8a57. resolves ethersphere/go-ethereum#1286
Diffstat (limited to 'log')
0 files changed, 0 insertions, 0 deletions