Add braces to meet code style on line-after-the-one-changed.

This commit is contained in:
Matt Corallo 2018-02-06 14:55:36 -05:00
parent 85aa8398f5
commit 02fc886363
1 changed files with 2 additions and 1 deletions

View File

@ -548,8 +548,9 @@ static bool AcceptToMemoryPoolWorker(const CChainParams& chainparams, CTxMemPool
const uint256 hash = tx.GetHash(); const uint256 hash = tx.GetHash();
AssertLockHeld(cs_main); AssertLockHeld(cs_main);
LOCK(pool.cs); // mempool "read lock" (held through GetMainSignals().TransactionAddedToMempool()) LOCK(pool.cs); // mempool "read lock" (held through GetMainSignals().TransactionAddedToMempool())
if (pfMissingInputs) if (pfMissingInputs) {
*pfMissingInputs = false; *pfMissingInputs = false;
}
if (!CheckTransaction(tx, state)) if (!CheckTransaction(tx, state))
return false; // state filled in by CheckTransaction return false; // state filled in by CheckTransaction