mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix rpc commands with no arguments.
This commit is contained in:
@@ -52,7 +52,7 @@ int commandLineRPC(const std::vector<std::string>& vCmd)
|
|||||||
int nRet = 0;
|
int nRet = 0;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (vCmd.size() < 2) return 1;
|
if (!vCmd.size()) return 1;
|
||||||
|
|
||||||
std::string strMethod = vCmd[0];
|
std::string strMethod = vCmd[0];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user