git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
78d673d
)
Fix getbalance() bug
c++11
author
CryptoManiac
<CryptoManiac@users.noreply.github.com>
Fri, 17 Apr 2020 22:05:46 +0000 (
01:05
+0300)
committer
GitHub
<noreply@github.com>
Fri, 17 Apr 2020 22:05:46 +0000 (
01:05
+0300)
src/rpcwallet.cpp
patch
|
blob
|
history
diff --git
a/src/rpcwallet.cpp
b/src/rpcwallet.cpp
index
8f82c97
..
f624205
100644
(file)
--- 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"