Page MenuHomePhabricator

[backport#15435] Merge #15435: rpc: Add missing #include
ClosedPublic

Authored by majcosta on May 27 2020, 21:49.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCdc38fa1b733c: [backport#15435] Merge #15435: rpc: Add missing #include
Summary

39e20fc54f Add missing #include. (Daniel Kraft)

Pull request description:

bd0dbe8763fc3029cf96531c9ccaba280b939445 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


Backport of Core PR15435

Test Plan
ninja check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

Fabien added a subscriber: Fabien.

It's fantastic to see a diff entitled Add missing #include which only removes an #include :)

This revision is now accepted and ready to land.May 28 2020, 08:10