aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorZachary Michaels <mikezackles@gmail.com>2014-07-01 12:11:06 -0400
committerZachary Michaels <mikezackles@gmail.com>2014-07-01 14:57:27 -0400
commitdee9abcd603d08bff0f33852806cb17b1200f170 (patch)
tree7a481c5763ad2b76cc7330ede8862e4dbb6b0971 /src/rpc
parentSwitch list to vector for RPC serialization (diff)
downloadmonero-dee9abcd603d08bff0f33852806cb17b1200f170.tar.xz
Match empty RPC request with other requests
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/core_rpc_server_commands_defs.h6
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
{