diff options
author | Anthony Towns <aj@erisian.com.au> | 2020-12-29 22:43:18 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2021-06-29 17:11:12 +1000 |
commit | eccd736f3dc231ac0306ca763c3b72cf8247230a (patch) | |
tree | 3d9a5aaeaec55e5942a66f2523e0564d52b6f2d5 /src/rpc/blockchain.cpp | |
parent | 36a4ba0aaaa9b35185d7178994e36bc02cca9887 (diff) | |
download | bitcoin-eccd736f3dc231ac0306ca763c3b72cf8247230a.tar.xz |
versionbits: Use dedicated lock instead of cs_main
Diffstat (limited to 'src/rpc/blockchain.cpp')
-rw-r--r-- | src/rpc/blockchain.cpp | 2 |
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. |