aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Michaels <mikezackles@gmail.com>2014-07-01 12:10:19 -0400
committerZachary Michaels <mikezackles@gmail.com>2014-07-01 14:57:27 -0400
commitefad8c9f3161ce966cfad2ee94f1806cf141e8f5 (patch)
tree143a86cf345615237d6f7ba5e2c8833a8d71b5e9
parentAllow conditional compilation with VS 2013+ (diff)
downloadmonero-efad8c9f3161ce966cfad2ee94f1806cf141e8f5.tar.xz
Switch list to vector for RPC serialization
-rw-r--r--src/rpc/core_rpc_server_commands_defs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/core_rpc_server_commands_defs.h b/src/rpc/core_rpc_server_commands_defs.h
index 6e87fb48c..4ea5127f5 100644
--- a/src/rpc/core_rpc_server_commands_defs.h
+++ b/src/rpc/core_rpc_server_commands_defs.h
@@ -115,8 +115,8 @@ namespace cryptonote
{
struct request
{
- std::list<uint64_t> amounts;
- uint64_t outs_count;
+ std::vector<uint64_t> amounts;
+ uint64_t outs_count;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(amounts)
KV_SERIALIZE(outs_count)