mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-07 03:03:58 +01:00
Make GetWarnings() return bilingual_str
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user