aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/node.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@protonmail.com>2020-06-05 14:42:12 +0200
committerWladimir J. van der Laan <laanwj@protonmail.com>2020-06-09 15:40:02 +0200
commit6fe989054f0ad9308e8a25f7123d9e5dd67f1164 (patch)
tree4c6df59c0556bdd3ae642586572ae5a99cccaf02 /src/interfaces/node.cpp
parent425e7cb8cf6140e03802a96d2be9a8b4aa2e244a (diff)
refactor: Change Node::initError to take bilingual_str
Make it consistent with `Chain::initError`.
Diffstat (limited to 'src/interfaces/node.cpp')
-rw-r--r--src/interfaces/node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/node.cpp b/src/interfaces/node.cpp
index bd1b36fea5..7995d8d7b0 100644
--- a/src/interfaces/node.cpp
+++ b/src/interfaces/node.cpp
@@ -56,7 +56,7 @@ namespace {
class NodeImpl : public Node
{
public:
- void initError(const std::string& message) override { InitError(Untranslated(message)); }
+ void initError(const bilingual_str& message) override { InitError(message); }
bool parseParameters(int argc, const char* const argv[], std::string& error) override
{
return gArgs.ParseParameters(argc, argv, error);