diff --git a/src/core/core.cpp b/src/core/core.cpp index 9604e13f0..ea549c131 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -830,7 +830,7 @@ void Core::bootstrapDht() ASSERT_CORE_THREAD; - auto const shuffledBootstrapNodes = shuffleBootstrapNodes(bootstrapListGenerator.getBootstrapnodes()); + auto const shuffledBootstrapNodes = shuffleBootstrapNodes(bootstrapListGenerator.getBootstrapNodes()); if (shuffledBootstrapNodes.empty()) { qWarning() << "No bootstrap node list"; return; diff --git a/src/model/ibootstraplistgenerator.h b/src/model/ibootstraplistgenerator.h index db318dec5..bb8920b45 100644 --- a/src/model/ibootstraplistgenerator.h +++ b/src/model/ibootstraplistgenerator.h @@ -32,5 +32,5 @@ public: IBootstrapListGenerator(IBootstrapListGenerator&&) = default; IBootstrapListGenerator& operator=(IBootstrapListGenerator&&) = default; - virtual QList getBootstrapnodes() const = 0; + virtual QList getBootstrapNodes() const = 0; }; diff --git a/src/net/bootstrapnodeupdater.cpp b/src/net/bootstrapnodeupdater.cpp index 1f958031c..bd3c640e6 100644 --- a/src/net/bootstrapnodeupdater.cpp +++ b/src/net/bootstrapnodeupdater.cpp @@ -228,7 +228,7 @@ BootstrapNodeUpdater::BootstrapNodeUpdater(const QNetworkProxy& proxy_, Paths& p createExampleBootstrapNodesFile(paths_); } -QList BootstrapNodeUpdater::getBootstrapnodes() const +QList BootstrapNodeUpdater::getBootstrapNodes() const { auto userFilePath = paths.getUserNodesFilePath(); if (QFile::exists(userFilePath)) { diff --git a/src/net/bootstrapnodeupdater.h b/src/net/bootstrapnodeupdater.h index d065d168b..5942a042c 100644 --- a/src/net/bootstrapnodeupdater.h +++ b/src/net/bootstrapnodeupdater.h @@ -35,7 +35,7 @@ class BootstrapNodeUpdater : public QObject, public IBootstrapListGenerator Q_OBJECT public: explicit BootstrapNodeUpdater(const QNetworkProxy& proxy_, Paths& paths_, QObject* parent = nullptr); - QList getBootstrapnodes() const override; + QList getBootstrapNodes() const override; void requestBootstrapNodes(); static QList loadDefaultBootstrapNodes(); diff --git a/test/core/core_test.cpp b/test/core/core_test.cpp index ba60b6d64..abc043076 100644 --- a/test/core/core_test.cpp +++ b/test/core/core_test.cpp @@ -37,10 +37,10 @@ Q_DECLARE_METATYPE(QList) class MockNodeListGenerator : public IBootstrapListGenerator { - QList getBootstrapnodes() const override; + QList getBootstrapNodes() const override; }; -QList MockNodeListGenerator::getBootstrapnodes() const { +QList MockNodeListGenerator::getBootstrapNodes() const { return BootstrapNodeUpdater::loadDefaultBootstrapNodes(); }