From 0542619d93811fdb73508abb5299b8fd77f47a0e Mon Sep 17 00:00:00 2001 From: Gregory Maxwell Date: Wed, 12 Feb 2014 16:23:06 -0800 Subject: Rename IsConfirmed to IsTrusted to better match the intended behavior. This doesn't change the functionality at all. --- src/rpcwallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rpcwallet.cpp') 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::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; -- cgit v1.2.3