diff --git a/rpc.cpp b/rpc.cpp index 69db71a80f5..e8335cd51fe 100644 --- a/rpc.cpp +++ b/rpc.cpp @@ -2087,6 +2087,7 @@ int CommandLineRPC(int argc, char *argv[]) if (strMethod == "sendfrom" && n > 2) ConvertTo(params[2]); if (strMethod == "sendfrom" && n > 3) ConvertTo(params[3]); if (strMethod == "listtransactions" && n > 1) ConvertTo(params[1]); + if (strMethod == "listtransactions" && n > 2) ConvertTo(params[2]); if (strMethod == "listaccounts" && n > 0) ConvertTo(params[0]); if (strMethod == "sendmany" && n > 1) {