X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fwallet.cpp;h=2f4803f4770803d398de44a8b34e2dfa2c4c771c;hp=a1fe81d297f07be0f10898b9a92c3128f2306b01;hb=34694c603fa90378d59d70804a5862df3845b2b8;hpb=9e58e0a8ca28b15a4bfa677f5b23891972db40fd diff --git a/src/wallet.cpp b/src/wallet.cpp index a1fe81d..2f4803f 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -956,7 +956,7 @@ void CWalletTx::GetAccountAmounts(const string& strAccount, int64_t& nGenerated, list > listSent; GetAmounts(allGeneratedImmature, allGeneratedMature, listReceived, listSent, allFee, strSentAccount, filter); - if (strAccount == "") + if (strAccount.empty()) nGenerated = allGeneratedMature; if (strAccount == strSentAccount) {