mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
[refactor] Prep for scripted-diff by removing some \ns which annoy sed.
This commit is contained in:
committed by
Suhas Daftuar
parent
5e78c5734b
commit
7721ad64f4
@@ -172,8 +172,7 @@ bool Consensus::CheckTxInputs(const CTransaction& tx, CValidationState& state, c
|
||||
|
||||
// If prev is coinbase, check that it's matured
|
||||
if (coin.IsCoinBase() && nSpendHeight - coin.nHeight < COINBASE_MATURITY) {
|
||||
return state.DoS(0, ValidationInvalidReason::TX_MISSING_INPUTS, false,
|
||||
REJECT_INVALID, "bad-txns-premature-spend-of-coinbase", false,
|
||||
return state.DoS(0, ValidationInvalidReason::TX_MISSING_INPUTS, false, REJECT_INVALID, "bad-txns-premature-spend-of-coinbase", false,
|
||||
strprintf("tried to spend coinbase at depth %d", nSpendHeight - coin.nHeight));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user