[qt] Stop treating coinbase outputs differently: show them at 1conf

This commit is contained in:
Matt Corallo
2017-04-17 10:16:21 -04:00
parent 2584925077
commit 608bbccfb9
3 changed files with 2 additions and 39 deletions

View File

@@ -18,14 +18,8 @@
*/
bool TransactionRecord::showTransaction(const CWalletTx &wtx)
{
if (wtx.IsCoinBase())
{
// Ensures we show generated coins / mined transactions at depth 1
if (!wtx.IsInMainChain())
{
return false;
}
}
// There are currently no cases where we hide transactions, but
// we may want to use this in the future for things like RBF.
return true;
}