[Qt] Support for abandoned/abandoning transactions
This commit is contained in:
committed by
lateminer
parent
ae1775b6ae
commit
db7da64904
@@ -39,7 +39,7 @@ QString TransactionDesc::FormatTxStatus(const CWalletTx& wtx)
|
||||
else if (GetAdjustedTime() - wtx.nTimeReceived > 2 * 60 && wtx.GetRequestCount() == 0)
|
||||
return tr("%1/offline").arg(nDepth);
|
||||
else if (nDepth == 0)
|
||||
return tr("0/unconfirmed, %1").arg((wtx.InMempool() ? tr("in memory pool") : tr("not in memory pool")));
|
||||
return tr("0/unconfirmed, %1").arg((wtx.InMempool() ? tr("in memory pool") : tr("not in memory pool"))) + (wtx.isAbandoned() ? ", "+tr("abandoned") : "");
|
||||
else if (nDepth < 10)
|
||||
return tr("%1/unconfirmed").arg(nDepth);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user