Fix importprivkey bool
@@ -1388,6 +1388,7 @@ Array RPCConvertValues(const std::string &strMethod, const std::vector<std::stri
if (strMethod == "gettxout" && n == 2) ConvertTo<int64_t>(params[1]);
if (strMethod == "gettxout" && n == 3) { ConvertTo<int64_t>(params[1]); ConvertTo<bool>(params[2]); }
if (strMethod == "importaddress" && n > 2) ConvertTo<bool>(params[2]);
+ if (strMethod == "importprivkey" && n > 2) ConvertTo<bool>(params[2]);
if (strMethod == "senddtoanon" && n > 1) ConvertTo<double>(params[1]);
if (strMethod == "sendanontoanon" && n > 1) ConvertTo<double>(params[1]);
