Rename to fCoinbaseMustBeProtected.

This commit is contained in:
Sean Bowe
2016-06-14 15:16:34 -06:00
parent 89f3cd11c7
commit a180d0a6c6
3 changed files with 4 additions and 4 deletions

View File

@@ -1631,7 +1631,7 @@ bool NonContextualCheckInputs(const CTransaction& tx, CValidationState &state, c
if (coins->IsCoinBase()) {
// Ensure that coinbases cannot be spent to transparent outputs
// Disabled on regtest
if (consensusParams.coinbaseMustBeProtected && !tx.vout.empty()) {
if (consensusParams.fCoinbaseMustBeProtected && !tx.vout.empty()) {
return state.Invalid(
error("CheckInputs(): tried to spend coinbase with transparent outputs"),
REJECT_INVALID, "bad-txns-coinbase-spend-has-transparent-outputs");