1
0
Fork 0
forked from lthn/blockchain

plain wallet API: minor fixes

This commit is contained in:
sowle 2020-06-08 11:49:20 +03:00
parent aecd66c346
commit c638a8b2f6
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

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