Switch list to vector for RPC serialization

This commit is contained in:
Zachary Michaels 2014-07-01 12:10:19 -04:00
parent 034a1a865e
commit efad8c9f31

View file

@ -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)