v30.3-roots.1 · Commit 3: [PATCH 03/68] feat(policy): preserve Roots relay and network controls on Core 30.3
src/test/fuzz/p2p_headers_presync.cpp
Before: src/test/fuzz/p2p_headers_presync.cpp · After: src/test/fuzz/p2p_headers_presync.cpp
File metadata
index 9aebac30557dd0a0d830a959ce19eb53a52e88bd..c6842a358497bbe2cfaafbf230ff4fe931863d86 100644
Download original patch · Release notes
Diff rows 1–8 of 8. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.
src/test/fuzz/p2p_headers_presync.cpp
CHANGED
|
@@ -70,7 +70,7 @@ void HeadersSyncSetup::ResetAndInitialize()
|
|
|
70
70
|
|
|
71
71
|
for (auto conn_type : conn_types) {
|
|
72
72
|
CAddress addr{};
|
|
73
|
-
m_connections.push_back(new CNode(id++, nullptr, addr, 0, 0, addr, "", conn_type, false));
|
|
73
|
+
m_connections.push_back(new CNode(id++, nullptr, addr, 0, 0, addr, "", conn_type, false, 0));
|
|
74
74
|
CNode& p2p_node = *m_connections.back();
|
|
75
75
|
|
|
76
76
|
connman.Handshake(
|