missing white space in function arg
This commit is contained in:
parent
479afa0f84
commit
69a4339ef5
1 changed files with 1 additions and 1 deletions
|
@ -455,7 +455,7 @@ static bool AcceptToMemoryPoolWorker(const CChainParams& chainparams, CTxMemPool
|
||||||
|
|
||||||
// Reject transactions with witness before segregated witness activates (override with -prematurewitness)
|
// Reject transactions with witness before segregated witness activates (override with -prematurewitness)
|
||||||
bool witnessEnabled = IsWitnessEnabled(chainActive.Tip(), chainparams.GetConsensus());
|
bool witnessEnabled = IsWitnessEnabled(chainActive.Tip(), chainparams.GetConsensus());
|
||||||
if (!GetBoolArg("-prematurewitness",false) && tx.HasWitness() && !witnessEnabled) {
|
if (!GetBoolArg("-prematurewitness", false) && tx.HasWitness() && !witnessEnabled) {
|
||||||
return state.DoS(0, false, REJECT_NONSTANDARD, "no-witness-yet", true);
|
return state.DoS(0, false, REJECT_NONSTANDARD, "no-witness-yet", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue