1
0
Fork 0
forked from lthn/blockchain

fixed json in response

This commit is contained in:
cryptozoidberg 2020-06-05 21:38:16 +02:00
parent 8bc5d1feac
commit aecd66c346
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -344,9 +344,9 @@ namespace plain_wallet
}
//lazy to make struct for it
std::stringstream res;
res << "{ \"valid\": " << (valid?"true":"false") << ", \"auditable\" : "
res << "{ \"valid\": " << (valid?"true":"false") << ", \"auditable\": "
<< (apa.flags&ACCOUNT_PUBLIC_ADDRESS_FLAG_AUDITABLE ? "true" : "false")
<< "\"payment_is\" : " << (pid.size() ? "true" : "false") << "}";
<< ",\"payment_is\": " << (pid.size() ? "true" : "false") << "}";
return res.str();
}