forked from lthn/blockchain
fixed json in response
This commit is contained in:
parent
8bc5d1feac
commit
aecd66c346
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue