mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-18 09:02:14 +11:00
🐛 ImpactBal accepts Int64 not UInt64
This commit is contained in:
parent
a657c9d6b2
commit
b1f0aad79e
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ void api::ImpactBal(req_args) const
|
||||||
{
|
{
|
||||||
SIMD_JSON_GEN;
|
SIMD_JSON_GEN;
|
||||||
static thread_local auto name = doc.find_field("name").get_string();
|
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;
|
BankResponse res;
|
||||||
if (name.error() || amount.error())
|
if (name.error() || amount.error())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue