Skip to content

Commit 577b774

Browse files
committed
validation: Remove old CheckFinalTx w/o chain tip param
1 parent 7031cf8 commit 577b774

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/validation.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,6 @@ static FILE* OpenUndoFile(const FlatFilePos &pos, bool fReadOnly = false);
204204
static FlatFileSeq BlockFileSeq();
205205
static FlatFileSeq UndoFileSeq();
206206

207-
bool CheckFinalTx(const CTransaction &tx, int flags)
208-
{
209-
return CheckFinalTx(::ChainActive().Tip(), tx, flags);
210-
}
211-
212207
bool CheckFinalTx(const CBlockIndex* active_chain_tip, const CTransaction &tx, int flags)
213208
{
214209
AssertLockHeld(cs_main);

src/validation.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@ void UpdateCoins(const CTransaction& tx, CCoinsViewCache& inputs, int nHeight);
248248
*
249249
* See consensus/consensus.h for flag definitions.
250250
*/
251-
bool CheckFinalTx(const CTransaction &tx, int flags = -1) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
252251
bool CheckFinalTx(const CBlockIndex* active_chain_tip, const CTransaction &tx, int flags = -1) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
253252

254253
/**

0 commit comments

Comments
 (0)