X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fwallet.cpp;h=2f4803f4770803d398de44a8b34e2dfa2c4c771c;hb=bea49258fdb757e194ae2c08f75169fc3eb6941d;hp=a1fe81d297f07be0f10898b9a92c3128f2306b01;hpb=9e58e0a8ca28b15a4bfa677f5b23891972db40fd;p=novacoin.git 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) {