mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
🐛 fixed a 0 amount bug on logs
This commit is contained in:
parent
630ea79b17
commit
c95753550c
2 changed files with 1 additions and 8 deletions
|
|
@ -4,13 +4,6 @@
|
|||
"address": "0.0.0.0",
|
||||
"port": 80,
|
||||
"https": false
|
||||
},
|
||||
{
|
||||
"address": "0.0.0.0",
|
||||
"port": 443,
|
||||
"https": true,
|
||||
"cert": "",
|
||||
"key": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ struct Log
|
|||
{
|
||||
res[i]["to"] = data[i].to;
|
||||
res[i]["from"] = data[i].from;
|
||||
res[i]["amount"] = data[i].amount;
|
||||
res[i]["amount"] = (Json::UInt)data[i].amount;
|
||||
res[i]["time"] = (Json::UInt64)data[i].time;
|
||||
}
|
||||
return res;
|
||||
|
|
|
|||
Loading…
Reference in a new issue