aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDhruv Mehta <856960+dhruv@users.noreply.github.com>2021-02-12 09:23:03 -0800
committerDhruv Mehta <856960+dhruv@users.noreply.github.com>2021-02-12 09:23:03 -0800
commit015637dd445e0158dc763d0d8c55f471d0bc4305 (patch)
tree077fed62f132c3839f6444c47eecb259f9d867dc
parente9c037ba64dd5b073fccf059ef75db1c97abd0bd (diff)
[refactor] Correct log message in net.cpp
-rw-r--r--src/net.cpp2
-rwxr-xr-xtest/functional/feature_config_args.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 2c8f532bd8..c2e7ca0301 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -1813,7 +1813,7 @@ void CConnman::ThreadOpenConnections(const std::vector<std::string> connect)
LOCK2(m_addr_fetches_mutex, cs_vAddedNodes);
if (m_addr_fetches.empty() && vAddedNodes.empty()) {
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");
}
}
diff --git a/test/functional/feature_config_args.py b/test/functional/feature_config_args.py
index 82dd0e3b80..9e22203028 100755
--- a/test/functional/feature_config_args.py
+++ b/test/functional/feature_config_args.py
@@ -172,7 +172,7 @@ class ConfArgsTest(BitcoinTestFramework):
with self.nodes[0].assert_debug_log(expected_msgs=[
"Loaded 0 addresses from peers.dat",
"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'])
assert time.time() - start < 60
self.stop_node(0)