🐛 ImpactBal accepts Int64 not UInt64

This commit is contained in:
EntireTwix 2021-07-08 16:39:54 -07:00
parent a657c9d6b2
commit b1f0aad79e

View file

@ -133,7 +133,7 @@ void api::ImpactBal(req_args) const
{
SIMD_JSON_GEN;
static thread_local auto name = doc.find_field("name").get_string();
static thread_local auto amount = doc.find_field("amount").get_uint64();
static thread_local auto amount = doc.find_field("amount").get_int64();
BankResponse res;
if (name.error() || amount.error())
{