diff options
author | Matt Corallo <git@bluematt.me> | 2017-04-17 10:16:21 -0400 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2017-04-17 10:16:21 -0400 |
commit | 608bbccfb97e5ecb9083ac203642524a6e556e48 (patch) | |
tree | ac08cbddfda17f0bc37085e29a4016110ee56a98 /src/qt/transactionrecord.cpp | |
parent | 2584925077f9658b3953ad931b74779006e59807 (diff) |
[qt] Stop treating coinbase outputs differently: show them at 1conf
Diffstat (limited to 'src/qt/transactionrecord.cpp')
-rw-r--r-- | src/qt/transactionrecord.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/qt/transactionrecord.cpp b/src/qt/transactionrecord.cpp index a9d9b6887e..4bb260aa58 100644 --- a/src/qt/transactionrecord.cpp +++ b/src/qt/transactionrecord.cpp @@ -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; } |