From dee9abcd603d08bff0f33852806cb17b1200f170 Mon Sep 17 00:00:00 2001 From: Zachary Michaels Date: Tue, 1 Jul 2014 12:11:06 -0400 Subject: [PATCH] Match empty RPC request with other requests --- src/rpc/core_rpc_server_commands_defs.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/rpc/core_rpc_server_commands_defs.h b/src/rpc/core_rpc_server_commands_defs.h index 4ea5127f5..20f73c9d8 100644 --- a/src/rpc/core_rpc_server_commands_defs.h +++ b/src/rpc/core_rpc_server_commands_defs.h @@ -414,7 +414,11 @@ namespace cryptonote struct COMMAND_RPC_GET_LAST_BLOCK_HEADER { - typedef std::list request; + struct request + { + BEGIN_KV_SERIALIZE_MAP() + END_KV_SERIALIZE_MAP() + }; struct response {