aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoin-wallet.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-06-17 10:56:52 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-07-24 16:32:53 +0300
commit0b86e517ad733c8740c519332aa4c0e9035dbaab (patch)
treeb2e0e4ed7b07400231d9323419b0e8eeb3576490 /src/bitcoin-wallet.cpp
parent0626b8cbdf0aa971500eb5613c7ab4096c496966 (diff)
Refactor out translation.h
This is a prerequisite for introducing bilingual error messages. Note: #includes are arranged by clang-format-diff.py script.
Diffstat (limited to 'src/bitcoin-wallet.cpp')
-rw-r--r--src/bitcoin-wallet.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bitcoin-wallet.cpp b/src/bitcoin-wallet.cpp
index cbb4ea750c..a690e2facb 100644
--- a/src/bitcoin-wallet.cpp
+++ b/src/bitcoin-wallet.cpp
@@ -9,10 +9,12 @@
#include <chainparams.h>
#include <chainparamsbase.h>
#include <logging.h>
-#include <util/system.h>
#include <util/strencodings.h>
+#include <util/system.h>
+#include <util/translation.h>
#include <wallet/wallettool.h>
+#include <functional>
#include <stdio.h>
const std::function<std::string(const char*)> G_TRANSLATION_FUN = nullptr;