Browse Source

Merge pull request #2947 from gmaxwell/theyre_maturing_faster_these_days

[wallet] Consider generated coins mature at COINBASE_MATURITY+1
0.10
Gavin Andresen 11 years ago
parent
commit
acb3ebc455
  1. 2
      src/main.cpp

2
src/main.cpp

@ -1098,7 +1098,7 @@ int CMerkleTx::GetBlocksToMaturity() const @@ -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());
}

Loading…
Cancel
Save