aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2020-12-29 22:43:18 +1000
committerAnthony Towns <aj@erisian.com.au>2021-06-29 17:11:12 +1000
commiteccd736f3dc231ac0306ca763c3b72cf8247230a (patch)
tree3d9a5aaeaec55e5942a66f2523e0564d52b6f2d5 /src/rpc
parent36a4ba0aaaa9b35185d7178994e36bc02cca9887 (diff)
downloadbitcoin-eccd736f3dc231ac0306ca763c3b72cf8247230a.tar.xz
versionbits: Use dedicated lock instead of cs_main
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/blockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp
index 02f8cec54c..22600c5340 100644
--- a/src/rpc/blockchain.cpp
+++ b/src/rpc/blockchain.cpp
@@ -1361,7 +1361,7 @@ static void BuriedForkDescPushBack(UniValue& softforks, const std::string &name,
softforks.pushKV(name, rv);
}
-static void BIP9SoftForkDescPushBack(const CBlockIndex* active_chain_tip, UniValue& softforks, const std::string &name, const Consensus::Params& consensusParams, Consensus::DeploymentPos id) EXCLUSIVE_LOCKS_REQUIRED(cs_main)
+static void BIP9SoftForkDescPushBack(const CBlockIndex* active_chain_tip, UniValue& softforks, const std::string &name, const Consensus::Params& consensusParams, Consensus::DeploymentPos id)
{
// For BIP9 deployments.
// Deployments that are never active are hidden.