diff options
author | Zachary Michaels <mikezackles@gmail.com> | 2014-07-01 12:11:06 -0400 |
---|---|---|
committer | Zachary Michaels <mikezackles@gmail.com> | 2014-07-01 14:57:27 -0400 |
commit | dee9abcd603d08bff0f33852806cb17b1200f170 (patch) | |
tree | 7a481c5763ad2b76cc7330ede8862e4dbb6b0971 /src | |
parent | Switch list to vector for RPC serialization (diff) | |
download | monero-dee9abcd603d08bff0f33852806cb17b1200f170.tar.xz |
Match empty RPC request with other requests
Diffstat (limited to 'src')
-rw-r--r-- | src/rpc/core_rpc_server_commands_defs.h | 6 |
1 files changed, 5 insertions, 1 deletions
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<std::string> request; + struct request + { + BEGIN_KV_SERIALIZE_MAP() + END_KV_SERIALIZE_MAP() + }; struct response { |