reverted getlog direction

This commit is contained in:
EntireTwix 2021-06-03 20:18:07 -07:00
parent 2083e57d13
commit acfbb738bb

View file

@ -179,15 +179,7 @@ public:
} }
else else
{ {
Json::Value temp; res = u.log.Serialize();
for (uint32_t i = u.log.data.size(); i > 0; --i)
{
temp[i - 1]["to"] = u.log.data[i - 1].to;
temp[i - 1]["from"] = u.log.data[i - 1].from;
temp[i - 1]["amount"] = (Json::UInt)u.log.data[i - 1].amount;
temp[i - 1]["time"] = (Json::UInt64)u.log.data[i - 1].time;
}
res = std::move(temp);
} }
})) }))
{ {