diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/validation.cpp | 5 | ||||
-rw-r--r-- | src/validation.h | 1 |
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); /** |