Skip to content

Commit 8f5c100

Browse files
committed
style-only: Make CheckSequenceLock signature readable
1 parent 8c82481 commit 8f5c100

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

src/validation.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,12 @@ bool TestLockPointValidity(CChain& active_chain, const LockPoints* lp)
256256
return true;
257257
}
258258

259-
bool CheckSequenceLocks(CChainState& active_chainstate, const CTxMemPool& pool, const CTransaction& tx, int flags, LockPoints* lp, bool useExistingLockPoints)
259+
bool CheckSequenceLocks(CChainState& active_chainstate,
260+
const CTxMemPool& pool,
261+
const CTransaction& tx,
262+
int flags,
263+
LockPoints* lp,
264+
bool useExistingLockPoints)
260265
{
261266
AssertLockHeld(cs_main);
262267
AssertLockHeld(pool.cs);

src/validation.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,12 @@ bool TestLockPointValidity(CChain& active_chain, const LockPoints* lp) EXCLUSIVE
266266
*
267267
* See consensus/consensus.h for flag definitions.
268268
*/
269-
bool CheckSequenceLocks(CChainState& active_chainstate, const CTxMemPool& pool, const CTransaction& tx, int flags, LockPoints* lp = nullptr, bool useExistingLockPoints = false) EXCLUSIVE_LOCKS_REQUIRED(::cs_main, pool.cs);
269+
bool CheckSequenceLocks(CChainState& active_chainstate,
270+
const CTxMemPool& pool,
271+
const CTransaction& tx,
272+
int flags,
273+
LockPoints* lp = nullptr,
274+
bool useExistingLockPoints = false) EXCLUSIVE_LOCKS_REQUIRED(::cs_main, pool.cs);
270275

271276
/**
272277
* Closure representing one script verification

0 commit comments

Comments
 (0)