mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-10 07:31:13 +00:00
Bugfix: Include "csv","!segwit" in "rules"
They have been missing since buried deployments were merged Github-Pull: #17946 Rebased-From: 2abe8cc3b760219cfa434e4c96e9f8d3611d0037
This commit is contained in:
parent
e422f65aee
commit
bde6a5a676
@ -576,6 +576,8 @@ static UniValue getblocktemplate(const JSONRPCRequest& request)
|
||||
result.pushKV("capabilities", aCaps);
|
||||
|
||||
UniValue aRules(UniValue::VARR);
|
||||
aRules.push_back("csv");
|
||||
if (!fPreSegWit) aRules.push_back("!segwit");
|
||||
UniValue vbavailable(UniValue::VOBJ);
|
||||
for (int j = 0; j < (int)Consensus::MAX_VERSION_BITS_DEPLOYMENTS; ++j) {
|
||||
Consensus::DeploymentPos pos = Consensus::DeploymentPos(j);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user