X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Frpcwallet.cpp;h=8a1967a574cad2aa7a59eb4fb56d523b7bec01ad;hb=cf882ecd08d63682370e8e928a63ed51b9aa6734;hp=a14c44fc11a582c560e431c117237a62bbba492b;hpb=0c80f9494715c7dacd6c74a6a56092b416a4d60d;p=novacoin.git diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp index a14c44f..8a1967a 100644 --- a/src/rpcwallet.cpp +++ b/src/rpcwallet.cpp @@ -564,7 +564,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 allGeneratedImmature, allGeneratedMature, allFee;