diff options
author | Carl Dong <contact@carldong.me> | 2020-09-16 17:29:10 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2021-02-18 14:43:28 -0500 |
commit | 4c15942b79c46256950df17c348302679e668ebc (patch) | |
tree | 3d0bdb6012fb8b5a25a4df0b5735d612959dc175 /src/validation.h | |
parent | 577b774d0c664b891bc9e1550ef179a655a466ad (diff) | |
download | bitcoin-4c15942b79c46256950df17c348302679e668ebc.tar.xz |
validation: Pass in chainstate to ::CheckSequenceLocks
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.h b/src/validation.h index 704167fee0..d03c8801b6 100644 --- a/src/validation.h +++ b/src/validation.h @@ -266,7 +266,7 @@ bool TestLockPointValidity(const LockPoints* lp) EXCLUSIVE_LOCKS_REQUIRED(cs_mai * * See consensus/consensus.h for flag definitions. */ -bool CheckSequenceLocks(const CTxMemPool& pool, const CTransaction& tx, int flags, LockPoints* lp = nullptr, bool useExistingLockPoints = false) EXCLUSIVE_LOCKS_REQUIRED(::cs_main, pool.cs); +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); /** * Closure representing one script verification |