From f8d5442cc12033e8552f13fabd42cf6f3b1f5004 Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Fri, 28 Feb 2020 08:45:16 +0100 Subject: [PATCH] fixed json in try_pull_result response --- src/wallet/plain_wallet_api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/plain_wallet_api.cpp b/src/wallet/plain_wallet_api.cpp index 189dad3b..a47eddff 100644 --- a/src/wallet/plain_wallet_api.cpp +++ b/src/wallet/plain_wallet_api.cpp @@ -277,7 +277,7 @@ namespace plain_wallet auto it = gjobs.find(job_id); if (it == gjobs.end()) { - return "{delivered: false}"; + return "{\"delivered\": false}"; } std::string res = "{\"delivered\": true, \"result\": "; res += it->second;