Merge pull request #3662

0542619 Rename IsConfirmed to IsTrusted to better match the intended behavior. (Gregory Maxwell)
This commit is contained in:
Wladimir J. van der Laan
2014-02-13 20:12:34 +01:00
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;