aboutsummaryrefslogtreecommitdiff
path: root/src/httprpc.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/httprpc.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/httprpc.cpp')
-rw-r--r--src/httprpc.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/httprpc.cpp b/src/httprpc.cpp
index c7a119440b..be39a5ed2e 100644
--- a/src/httprpc.cpp
+++ b/src/httprpc.cpp
@@ -5,19 +5,20 @@
#include <httprpc.h>
#include <chainparams.h>
+#include <crypto/hmac_sha256.h>
#include <httpserver.h>
#include <key_io.h>
#include <rpc/protocol.h>
#include <rpc/server.h>
#include <sync.h>
-#include <util/system.h>
-#include <util/strencodings.h>
#include <ui_interface.h>
+#include <util/strencodings.h>
+#include <util/system.h>
+#include <util/translation.h>
#include <walletinitinterface.h>
-#include <crypto/hmac_sha256.h>
-#include <stdio.h>
#include <memory>
+#include <stdio.h>
#include <boost/algorithm/string.hpp> // boost::trim