Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/walletdb.cpp
Show First 20 Lines • Show All 722 Lines • ▼ Show 20 Lines | for (const TxId &txid : txIds) { | ||||
it++; | it++; | ||||
} | } | ||||
if (it == txIdsIn.end()) { | if (it == txIdsIn.end()) { | ||||
break; | break; | ||||
} | } | ||||
if ((*it) == txid) { | if ((*it) == txid) { | ||||
if (!EraseTx(txid)) { | if (!EraseTx(txid)) { | ||||
LogPrint(BCLog::DB, "Transaction was found for deletion but " | LogPrint(BCLog::DB, | ||||
"returned database error: %s\n", | "Transaction was found for deletion but returned " | ||||
"database error: %s\n", | |||||
txid.GetHex()); | txid.GetHex()); | ||||
delerror = true; | delerror = true; | ||||
} | } | ||||
txIdsOut.push_back(txid); | txIdsOut.push_back(txid); | ||||
} | } | ||||
} | } | ||||
if (delerror) { | if (delerror) { | ||||
▲ Show 20 Lines • Show All 156 Lines • Show Last 20 Lines |