aboutsummaryrefslogtreecommitdiff
path: root/src/rpcwallet.cpp
diff options
context:
space:
mode:
authorGregory Maxwell <[email protected]>2014-02-12 16:23:06 -0800
committerGregory Maxwell <[email protected]>2014-02-12 16:23:06 -0800
commit0542619d93811fdb73508abb5299b8fd77f47a0e (patch)
treed8e43149a56fad0a7de99cf08fce5d516dcbc30e /src/rpcwallet.cpp
parentMerge pull request #3651 (diff)
downloaddiscoin-0542619d93811fdb73508abb5299b8fd77f47a0e.tar.xz
discoin-0542619d93811fdb73508abb5299b8fd77f47a0e.zip
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 704522582..7cdcaec77 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;