X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fqt%2Ftransactionrecord.cpp;fp=src%2Fqt%2Ftransactionrecord.cpp;h=c92218870f48b61d65d00583fec556f9c35124e7;hb=1b94874d4e604f51e3e3ca2bd4e9ab68280dc651;hp=bd6155bf26bdc482fcb8d11cbf4aca627395aa59;hpb=4ffa25aa74b459ff189a74b8cb40f1c07e34e36c;p=novacoin.git diff --git a/src/qt/transactionrecord.cpp b/src/qt/transactionrecord.cpp index bd6155b..c922188 100644 --- a/src/qt/transactionrecord.cpp +++ b/src/qt/transactionrecord.cpp @@ -205,31 +205,6 @@ void TransactionRecord::updateStatus(const CWalletTx &wtx) // For generated transactions, determine maturity if(type == TransactionRecord::Generated) { -/* - int64 nCredit = wtx.GetCredit(true); - if (nCredit == 0) - { - status.maturity = TransactionStatus::Immature; - - if (wtx.IsInMainChain()) - { - status.matures_in = wtx.GetBlocksToMaturity(); - - // Check if the block was requested by anyone - if (GetAdjustedTime() - wtx.nTimeReceived > 2 * 60 && wtx.GetRequestCount() == 0) - status.maturity = TransactionStatus::MaturesWarning; - } - else - { - status.maturity = TransactionStatus::NotAccepted; - } - } - else - { - status.maturity = TransactionStatus::Mature; - } -*/ - if (wtx.GetBlocksToMaturity() > 0) { status.maturity = TransactionStatus::Immature;