aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/node.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-06-10 11:44:48 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-06-10 15:01:20 +0300
commitd1ae7c0355662481a7d181a0a458284936d53eb1 (patch)
tree55d250c43634c6a224d92944e22692bcf03efeff /src/interfaces/node.h
parent38e33aa481cefbe12c50f344bae190c0d95fb489 (diff)
downloadbitcoin-d1ae7c0355662481a7d181a0a458284936d53eb1.tar.xz
Make GetWarnings() return bilingual_str
Diffstat (limited to 'src/interfaces/node.h')
-rw-r--r--src/interfaces/node.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/node.h b/src/interfaces/node.h
index fad84789cc..877a40568f 100644
--- a/src/interfaces/node.h
+++ b/src/interfaces/node.h
@@ -10,6 +10,7 @@
#include <net_types.h> // For banmap_t
#include <netaddress.h> // For Network
#include <support/allocators/secure.h> // For SecureString
+#include <util/translation.h>
#include <functional>
#include <memory>
@@ -81,7 +82,7 @@ public:
virtual void initParameterInteraction() = 0;
//! Get warnings.
- virtual std::string getWarnings() = 0;
+ virtual bilingual_str getWarnings() = 0;
// Get log flags.
virtual uint32_t getLogCategories() = 0;