diff --git a/src/rest.cpp b/src/rest.cpp index c9e61d70bd0..ba149c1a9ec 100644 --- a/src/rest.cpp +++ b/src/rest.cpp @@ -627,7 +627,7 @@ static bool rest_deploymentinfo(const std::any& context, HTTPRequest* req, const return RESTERR(req, HTTP_BAD_REQUEST, "Block not found"); } - jsonRequest.params.pushKV("blockhash", hash_str); + jsonRequest.params.push_back(hash_str); } req->WriteHeader("Content-Type", "application/json");