diff options
author | Matt Corallo <git@bluematt.me> | 2017-11-08 14:50:18 -0500 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2019-05-02 15:22:29 -0400 |
commit | 7721ad64f40a0c67edefaaf7353264d78df8803e (patch) | |
tree | 44727b13ce020db93cdb5df3c75251679f4af97a /src/consensus | |
parent | 5e78c5734bb0c9aae7b0a7019a745b2d7059b3d9 (diff) |
[refactor] Prep for scripted-diff by removing some \ns which annoy sed.
Diffstat (limited to 'src/consensus')
-rw-r--r-- | src/consensus/tx_verify.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/consensus/tx_verify.cpp b/src/consensus/tx_verify.cpp index 62a1676e2b..60af773b17 100644 --- a/src/consensus/tx_verify.cpp +++ b/src/consensus/tx_verify.cpp @@ -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)); } |