[wallet] Consider generated coins mature at COINBASE_MATURITY+1
@ -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());
}