diff --git a/config.json b/config.json index fa95be9..331a931 100644 --- a/config.json +++ b/config.json @@ -4,13 +4,6 @@ "address": "0.0.0.0", "port": 80, "https": false - }, - { - "address": "0.0.0.0", - "port": 443, - "https": true, - "cert": "", - "key": "" } ] } diff --git a/include/log.hpp b/include/log.hpp index a405cc1..9cfaead 100644 --- a/include/log.hpp +++ b/include/log.hpp @@ -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;