0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-09 10:43:19 -05:00

Merge pull request #2947 from gmaxwell/theyre_maturing_faster_these_days

[wallet] Consider generated coins mature at COINBASE_MATURITY+1
This commit is contained in:
Gavin Andresen 2013-10-03 22:52:38 -07:00
commit acb3ebc455

View file

@ -1098,7 +1098,7 @@ int CMerkleTx::GetBlocksToMaturity() const
{
if (!IsCoinBase())
return 0;
return max(0, (COINBASE_MATURITY+20) - GetDepthInMainChain());
return max(0, (COINBASE_MATURITY+1) - GetDepthInMainChain());
}