Replace COINBASE_MATURITY...
...with nCoinbaseMaturity
This commit is contained in:
@@ -3520,7 +3520,7 @@ int CMerkleTx::GetBlocksToMaturity() const
|
||||
{
|
||||
if (!(IsCoinBase() || IsCoinStake()))
|
||||
return 0;
|
||||
return max(0, (COINBASE_MATURITY+1) - GetDepthInMainChain());
|
||||
return max(0, (Params().GetConsensus().nCoinbaseMaturity+1) - GetDepthInMainChain());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user