mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-19 18:09:47 +01:00
[refactor] Correct log message in net.cpp
This commit is contained in:
parent
e9c037ba64
commit
015637dd44
@ -1813,7 +1813,7 @@ void CConnman::ThreadOpenConnections(const std::vector<std::string> connect)
|
|||||||
LOCK2(m_addr_fetches_mutex, cs_vAddedNodes);
|
LOCK2(m_addr_fetches_mutex, cs_vAddedNodes);
|
||||||
if (m_addr_fetches.empty() && vAddedNodes.empty()) {
|
if (m_addr_fetches.empty() && vAddedNodes.empty()) {
|
||||||
add_fixed_seeds_now = true;
|
add_fixed_seeds_now = true;
|
||||||
LogPrintf("Adding fixed seeds as -dnsseed=0, -addnode is not provided and and all -seednode(s) attempted\n");
|
LogPrintf("Adding fixed seeds as -dnsseed=0, -addnode is not provided and all -seednode(s) attempted\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -172,7 +172,7 @@ class ConfArgsTest(BitcoinTestFramework):
|
|||||||
with self.nodes[0].assert_debug_log(expected_msgs=[
|
with self.nodes[0].assert_debug_log(expected_msgs=[
|
||||||
"Loaded 0 addresses from peers.dat",
|
"Loaded 0 addresses from peers.dat",
|
||||||
"DNS seeding disabled",
|
"DNS seeding disabled",
|
||||||
"Adding fixed seeds as -dnsseed=0, -addnode is not provided and and all -seednode(s) attempted\n"]):
|
"Adding fixed seeds as -dnsseed=0, -addnode is not provided and all -seednode(s) attempted\n"]):
|
||||||
self.start_node(0, extra_args=['-dnsseed=0'])
|
self.start_node(0, extra_args=['-dnsseed=0'])
|
||||||
assert time.time() - start < 60
|
assert time.time() - start < 60
|
||||||
self.stop_node(0)
|
self.stop_node(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user