diff options
author | John Newbery <john@johnnewbery.com> | 2018-06-22 11:55:29 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2018-06-22 11:55:56 -0400 |
commit | 75848bcf401a23672aaec1d8be2738443946808c (patch) | |
tree | 301650169d22712b9cf6d6536b9da5f9fe2d9791 /src/noui.h | |
parent | 6579d80572d2d33aceabbd3db45a6a9f809aa5e3 (diff) |
[tests] Fix p2p_sendheaders race
p2p_sendheaders has a race in part 1.3.
part 1.2 sends a block to the node over the 'test_node' connection, but
doesn't wait for an inv to be received on the 'inv_node' connection. If
we get to part 1.3 before that inv has been received, then the
subsequent call to check_last_inv_announcement could fail.
Diffstat (limited to 'src/noui.h')
0 files changed, 0 insertions, 0 deletions