mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-23 20:38:07 +01:00
p2p_ibd_txrelay expects no GETDATA to have been received by a peer after announcing a transaction. The reason is that the node is doing IBD, so transaction requests are not replied to. However, the way this is checked is wrong, and the check will pass even if the node **was not** in IBD. This is due to the mocktime not being properly initialized, so the check is always performed earlier than it should, making it impossible for the request to be there
3.8 KiB
Executable File
3.8 KiB
Executable File