From 2ad8f98bc389f562d2742361483c14f471ff3576 Mon Sep 17 00:00:00 2001 From: erqan Date: Wed, 29 Jul 2015 18:27:46 +0300 Subject: [PATCH] on search method: value is type str, expected obj --- src/bitcoinrpc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 4cc8f4de..978b40b7 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -1344,6 +1344,7 @@ Array RPCConvertValues(const std::string &strMethod, const std::vector 1) ConvertTo(params[1]); if (strMethod == "getspamposts" && n > 2) ConvertTo(params[2]); if (strMethod == "search" && n > 2) ConvertTo(params[2]); + if (strMethod == "search" && n > 3) ConvertTo(params[3]); if (strMethod == "newgroupinvite" && n > 1) ConvertTo(params[1]); if (strMethod == "newgroupinvite" && n > 3) ConvertTo(params[3]); if (strMethod == "newgroupdescription" && n > 1) ConvertTo(params[1]);