mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 12:37:08 +11:00
reverted getlog direction
This commit is contained in:
parent
2083e57d13
commit
acfbb738bb
1 changed files with 1 additions and 9 deletions
|
|
@ -179,15 +179,7 @@ public:
|
|||
}
|
||||
else
|
||||
{
|
||||
Json::Value temp;
|
||||
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);
|
||||
res = u.log.Serialize();
|
||||
}
|
||||
}))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue