X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Frpcwallet.cpp;h=f62420583ae8a05f08fd830349b01a47f19f5196;hp=8f82c976f0b757cb3ad9eb6d334586ec50d47244;hb=f9ee348f60e5fd7ab79c30fcb2b7339c9bee1c31;hpb=78d673d91e07d2928c808983782080e3d6cac1ab diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp index 8f82c97..f624205 100644 --- a/src/rpcwallet.cpp +++ b/src/rpcwallet.cpp @@ -581,7 +581,7 @@ int64_t GetAccountBalance(const string& strAccount, int nMinDepth, const isminef Value getbalance(const Array& params, bool fHelp) { - if (fHelp || params.size() > 2) + if (fHelp || params.size() > 3) throw runtime_error( "getbalance [account] [minconf=1] [watchonly=0]\n" "If [account] is not specified, returns the server's total available balance.\n"