aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2020-12-18 15:27:35 -0500
committerCarl Dong <contact@carldong.me>2021-02-18 14:43:28 -0500
commit577b774d0c664b891bc9e1550ef179a655a466ad (patch)
tree2233cf5de8f50e0fdc34af796acee7f1ff0d13b9 /src
parent7031cf89db943d3e73597d2f9fa4a41908558e6c (diff)
downloadbitcoin-577b774d0c664b891bc9e1550ef179a655a466ad.tar.xz
validation: Remove old CheckFinalTx w/o chain tip param
Diffstat (limited to 'src')
-rw-r--r--src/validation.cpp5
-rw-r--r--src/validation.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/src/validation.cpp b/src/validation.cpp
index 8f076ce789..9cf147d9c8 100644
--- a/src/validation.cpp
+++ b/src/validation.cpp
@@ -204,11 +204,6 @@ static FILE* OpenUndoFile(const FlatFilePos &pos, bool fReadOnly = false);
static FlatFileSeq BlockFileSeq();
static FlatFileSeq UndoFileSeq();
-bool CheckFinalTx(const CTransaction &tx, int flags)
-{
- return CheckFinalTx(::ChainActive().Tip(), tx, flags);
-}
-
bool CheckFinalTx(const CBlockIndex* active_chain_tip, const CTransaction &tx, int flags)
{
AssertLockHeld(cs_main);
diff --git a/src/validation.h b/src/validation.h
index 16bf14875b..704167fee0 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -248,7 +248,6 @@ void UpdateCoins(const CTransaction& tx, CCoinsViewCache& inputs, int nHeight);
*
* See consensus/consensus.h for flag definitions.
*/
-bool CheckFinalTx(const CTransaction &tx, int flags = -1) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
bool CheckFinalTx(const CBlockIndex* active_chain_tip, const CTransaction &tx, int flags = -1) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
/**