diff --git a/src/llmq/chainlocks.cpp b/src/llmq/chainlocks.cpp index cfd2938935..36c8ce83c1 100644 --- a/src/llmq/chainlocks.cpp +++ b/src/llmq/chainlocks.cpp @@ -23,6 +23,11 @@ #include #include +static bool ChainLocksSigningEnabled(const CSporkManager& sporkman) +{ + return sporkman.GetSporkValue(SPORK_19_CHAINLOCKS_ENABLED) == 0; +} + namespace llmq { std::unique_ptr chainLocksHandler; @@ -678,9 +683,4 @@ bool AreChainLocksEnabled(const CSporkManager& sporkman) return sporkman.IsSporkActive(SPORK_19_CHAINLOCKS_ENABLED); } -bool ChainLocksSigningEnabled(const CSporkManager& sporkman) -{ - return sporkman.GetSporkValue(SPORK_19_CHAINLOCKS_ENABLED) == 0; -} - } // namespace llmq diff --git a/src/llmq/chainlocks.h b/src/llmq/chainlocks.h index 79f96ccb68..3cfc7ce801 100644 --- a/src/llmq/chainlocks.h +++ b/src/llmq/chainlocks.h @@ -132,8 +132,6 @@ private: extern std::unique_ptr chainLocksHandler; bool AreChainLocksEnabled(const CSporkManager& sporkman); -bool ChainLocksSigningEnabled(const CSporkManager& sporkman); - } // namespace llmq #endif // BITCOIN_LLMQ_CHAINLOCKS_H