aboutsummaryrefslogtreecommitdiff
path: root/src/rpcwallet.cpp
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2014-02-12 16:23:06 -0800
committerGregory Maxwell <greg@xiph.org>2014-02-12 16:23:06 -0800
commit0542619d93811fdb73508abb5299b8fd77f47a0e (patch)
treed8e43149a56fad0a7de99cf08fce5d516dcbc30e /src/rpcwallet.cpp
parent19e5b9d2dfcac4efadba636745485d9660fb1abe (diff)
downloadbitcoin-0542619d93811fdb73508abb5299b8fd77f47a0e.tar.xz
Rename IsConfirmed to IsTrusted to better match the intended behavior.
This doesn't change the functionality at all.
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 7045225825..7cdcaec77b 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;