Skip to content

Commit 39e20fc

Browse files
committed
Add missing #include.
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.
1 parent 29e82e4 commit 39e20fc

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)