From 901261024781c8657ff398d8311887f27dda9dd9 Mon Sep 17 00:00:00 2001 From: erqan Date: Thu, 3 Sep 2015 13:36:55 +0300 Subject: [PATCH] [`listgroups`] convert second parameter to bool. --- src/bitcoinrpc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 042217ed..392be102 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -1350,6 +1350,7 @@ Array RPCConvertValues(const std::string &strMethod, const std::vector 2) ConvertTo(params[2]); if (strMethod == "search" && n > 2) ConvertTo(params[2]); if (strMethod == "search" && n > 3) ConvertTo(params[3]); + if (strMethod == "listgroups" && n > 1) ConvertTo(params[1]); if (strMethod == "newgroupinvite" && n > 1) ConvertTo(params[1]); if (strMethod == "newgroupinvite" && n > 3) ConvertTo(params[3]); if (strMethod == "newgroupdescription" && n > 1) ConvertTo(params[1]);