Skip to content

Commit f3f9c1d

Browse files
author
MarcoFalke
committed
Merge #15435: rpc: Add missing #include
39e20fc Add missing #include. (Daniel Kraft) Pull request description: bd0dbe8 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
2 parents 169dced + 39e20fc commit f3f9c1d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/rpc/util.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#include <key_io.h>
66
#include <keystore.h>
77
#include <policy/fees.h>
8-
#include <rpc/protocol.h>
98
#include <rpc/util.h>
109
#include <tinyformat.h>
1110
#include <util/strencodings.h>

src/rpc/util.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include <node/transaction.h>
99
#include <pubkey.h>
10+
#include <rpc/protocol.h>
1011
#include <script/standard.h>
1112
#include <univalue.h>
1213

0 commit comments

Comments
 (0)