Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/bitcoin/network/messages/json/body.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ struct json_value
/// Because of the parser and serializer members, neither the reader nor writer
/// is movable and as such must be in-place contructed (e.g. variant contruct).
template <typename Value = json_value>
struct BCT_API body
struct body
{
using value_type = Value;

Expand Down
6 changes: 3 additions & 3 deletions include/bitcoin/network/messages/rpc/body.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace network {
namespace rpc {

template <typename Type>
struct value_type
struct message_type
: public json::json_value
{
Type message{};
Expand All @@ -38,9 +38,9 @@ struct value_type
/// Extends json::body with JSON-RPC validation.
template <typename Message>
struct BCT_API body
: public json::body<value_type<Message>>
: public json::body<message_type<Message>>
{
using message_value = value_type<Message>;
using message_value = message_type<Message>;
using base = typename json::body<message_value>;
using value_type = base::value_type;

Expand Down
Loading