Rename IsConfirmed to IsTrusted to better match the intended behavior.

This doesn't change the functionality at all.
This commit is contained in:
Gregory Maxwell
2014-02-12 16:23:06 -08:00
parent 19e5b9d2df
commit 0542619d93
4 changed files with 7 additions and 7 deletions

View File

@@ -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;