diff --git a/src/wallet/plain_wallet_api.cpp b/src/wallet/plain_wallet_api.cpp index 5af14a19..1073919a 100644 --- a/src/wallet/plain_wallet_api.cpp +++ b/src/wallet/plain_wallet_api.cpp @@ -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(); }