forked from lthn/blockchain
plain wallet API: minor fixes
This commit is contained in:
parent
aecd66c346
commit
c638a8b2f6
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue