Skip to content

Commit 6875a4d

Browse files
committed
refactor: add missing static for some functions in specialtxman
1 parent 12a0625 commit 6875a4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/evo/specialtxman.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ bool CheckSpecialTx(const CTransaction& tx, const CBlockIndex* pindexPrev, const
7070
return CheckSpecialTxInner(tx, pindexPrev, view, std::nullopt, check_sigs, state);
7171
}
7272

73-
bool ProcessSpecialTx(const CTransaction& tx, const CBlockIndex* pindex, TxValidationState& state)
73+
static bool ProcessSpecialTx(const CTransaction& tx, const CBlockIndex* pindex, TxValidationState& state)
7474
{
7575
if (tx.nVersion != 3 || tx.nType == TRANSACTION_NORMAL) {
7676
return true;
@@ -96,7 +96,7 @@ bool ProcessSpecialTx(const CTransaction& tx, const CBlockIndex* pindex, TxValid
9696
return state.Invalid(TxValidationResult::TX_CONSENSUS, "bad-tx-type-proc");
9797
}
9898

99-
bool UndoSpecialTx(const CTransaction& tx, const CBlockIndex* pindex)
99+
static bool UndoSpecialTx(const CTransaction& tx, const CBlockIndex* pindex)
100100
{
101101
if (tx.nVersion != 3 || tx.nType == TRANSACTION_NORMAL) {
102102
return true;

0 commit comments

Comments
 (0)