mirror of https://github.com/bitcoin/bitcoin
Set `P2PConnection.p2p_connected_to_node` in `P2PConnection.peer_connect_helper()` instead of `TestNode.add_p2p_connection()` and `TestNode.add_outbound_p2p_connection()`. This way tests can create an instance of `P2PConnection` and use `P2PConnection.peer_connect_helper()` directly.pull/29420/head
parent
22cd0e888c
commit
57529ac4db
Loading…
Reference in new issue