aboutsummaryrefslogtreecommitdiff
path: root/src/rpcwallet.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2014-02-13 20:12:34 +0100
committerWladimir J. van der Laan <[email protected]>2014-02-13 20:12:46 +0100
commit6056c87d25994bbceb23d6ae50df1276a51d51bd (patch)
treeb96fc427df87c50b6a96d60ecc07743fb8a8112b /src/rpcwallet.cpp
parentMerge pull request #3668 (diff)
parentRename IsConfirmed to IsTrusted to better match the intended behavior. (diff)
downloaddiscoin-6056c87d25994bbceb23d6ae50df1276a51d51bd.tar.xz
discoin-6056c87d25994bbceb23d6ae50df1276a51d51bd.zip
Merge pull request #3662
0542619 Rename IsConfirmed to IsTrusted to better match the intended behavior. (Gregory Maxwell)
Diffstat (limited to 'src/rpcwallet.cpp')
-rw-r--r--src/rpcwallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp
index 51e9aabec..bcbae0668 100644
--- a/src/rpcwallet.cpp
+++ b/src/rpcwallet.cpp
@@ -621,7 +621,7 @@ Value getbalance(const Array& params, bool fHelp)
for (map<uint256, CWalletTx>::iterator it = pwalletMain->mapWallet.begin(); it != pwalletMain->mapWallet.end(); ++it)
{
const CWalletTx& wtx = (*it).second;
- if (!wtx.IsConfirmed())
+ if (!wtx.IsTrusted())
continue;
int64_t allFee;