X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Frpcwallet.cpp;fp=src%2Frpcwallet.cpp;h=e0839b8bb13c7b86285063869513ed608abed199;hb=510a23a2c838245cd4681ed0b4fbce48e8ebf506;hp=eb302faeba84773e37bf83f8950a48c527880d50;hpb=e33f533bb6f15ccf69ac33e77699b8dc4c23afec;p=novacoin.git diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp index eb302fa..e0839b8 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"