number of confirmations is no longer magic value

This commit is contained in:
Wladimir J. van der Laan
2011-06-20 21:31:06 +02:00
parent 679592720a
commit 18b99e3f69
3 changed files with 5 additions and 2 deletions

View File

@@ -211,7 +211,7 @@ void TransactionRecord::updateStatus(const CWalletTx &wtx)
{
status.status = TransactionStatus::Offline;
}
else if (status.depth < 6)
else if (status.depth < NumConfirmations)
{
status.status = TransactionStatus::Unconfirmed;
}