🐛 fixed a 0 amount bug on logs

This commit is contained in:
EntireTwix 2021-05-21 16:17:49 -07:00
parent 630ea79b17
commit c95753550c
2 changed files with 1 additions and 8 deletions

View file

@ -4,13 +4,6 @@
"address": "0.0.0.0", "address": "0.0.0.0",
"port": 80, "port": 80,
"https": false "https": false
},
{
"address": "0.0.0.0",
"port": 443,
"https": true,
"cert": "",
"key": ""
} }
] ]
} }

View file

@ -31,7 +31,7 @@ struct Log
{ {
res[i]["to"] = data[i].to; res[i]["to"] = data[i].to;
res[i]["from"] = data[i].from; 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; res[i]["time"] = (Json::UInt64)data[i].time;
} }
return res; return res;