Skip to content

Commit

Permalink
fixup cs_main
Browse files Browse the repository at this point in the history
  • Loading branch information
knst committed Jul 3, 2023
1 parent 62faf42 commit 03ae77d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/evo/specialtxman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ bool CheckSpecialTx(const CTransaction& tx, const CBlockIndex* pindexPrev, const
static bool ProcessSpecialTx(const CTransaction& tx, const CBlockIndex* pindex, CMNHFManager& mnhfManager, TxValidationState& state)

{
AssertLockHeld(cs_main);

if (tx.nVersion != 3 || tx.nType == TRANSACTION_NORMAL) {
return true;
}
Expand All @@ -81,6 +83,8 @@ static bool ProcessSpecialTx(const CTransaction& tx, const CBlockIndex* pindex,

static bool UndoSpecialTx(const CTransaction& tx, const CBlockIndex* pindex, CMNHFManager& mnhfManager)
{
AssertLockHeld(cs_main);

if (tx.nVersion != 3 || tx.nType == TRANSACTION_NORMAL) {
return true;
}
Expand Down

0 comments on commit 03ae77d

Please sign in to comment.