Merge #15435: rpc: Add missing #include

39e20fc54f Add missing #include. (Daniel Kraft)

Pull request description:

  bd0dbe8763 introduced a dependency of `rpc/util.h` on `RPCErrorCode`, defined in `rpc/protocol.h`.  The latter file is only included from `rpc/util.cpp`, though.  This commit fixes the missing include, by moving the `#include` of `rpc/protocol.h` to `rpc/util.h`.

Tree-SHA512: 75c03cfadb28a309d6deb36feeb0ee6ce0b38e8a1176919bc611ea720feff8c42ec9ed0ac8ab74ba9c531a3b7ec9ccbed0c8692ebdf5f9fc17867b9750a1d9f6
This commit is contained in:
MarcoFalke 2019-02-22 14:42:58 -05:00
commit f3f9c1de19
No known key found for this signature in database
GPG key ID: D2EA4850E7528B25
2 changed files with 1 additions and 1 deletions

View file

@ -5,7 +5,6 @@
#include <key_io.h>
#include <keystore.h>
#include <policy/fees.h>
#include <rpc/protocol.h>
#include <rpc/util.h>
#include <tinyformat.h>
#include <util/strencodings.h>

View file

@ -7,6 +7,7 @@
#include <node/transaction.h>
#include <pubkey.h>
#include <rpc/protocol.h>
#include <script/standard.h>
#include <univalue.h>