aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/node.h
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.h
parent425e7cb8cf6140e03802a96d2be9a8b4aa2e244a (diff)
refactor: Change Node::initError to take bilingual_str
Make it consistent with `Chain::initError`.
Diffstat (limited to 'src/interfaces/node.h')
-rw-r--r--src/interfaces/node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/node.h b/src/interfaces/node.h
index 0b7fb6736a..fad84789cc 100644
--- a/src/interfaces/node.h
+++ b/src/interfaces/node.h
@@ -45,7 +45,7 @@ public:
virtual ~Node() {}
//! Send init error.
- virtual void initError(const std::string& message) = 0;
+ virtual void initError(const bilingual_str& message) = 0;
//! Set command line arguments.
virtual bool parseParameters(int argc, const char* const argv[], std::string& error) = 0;