Skip to content

Commit 54dc13b

Browse files
committed
rpc: Fix SoftForkMajorityDesc and SoftForkDesc signatures
1 parent cb25cd6 commit 54dc13b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rpc/blockchain.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ static UniValue verifychain(const JSONRPCRequest& request)
11211121
}
11221122

11231123
/** Implementation of IsSuperMajority with better feedback */
1124-
static UniValue SoftForkMajorityDesc(int version, CBlockIndex* pindex, const Consensus::Params& consensusParams)
1124+
static UniValue SoftForkMajorityDesc(int version, const CBlockIndex* pindex, const Consensus::Params& consensusParams)
11251125
{
11261126
UniValue rv(UniValue::VOBJ);
11271127
bool activated = false;
@@ -1141,7 +1141,7 @@ static UniValue SoftForkMajorityDesc(int version, CBlockIndex* pindex, const Con
11411141
return rv;
11421142
}
11431143

1144-
static UniValue SoftForkDesc(const std::string &name, int version, CBlockIndex* pindex, const Consensus::Params& consensusParams)
1144+
static UniValue SoftForkDesc(const std::string &name, int version, const CBlockIndex* pindex, const Consensus::Params& consensusParams)
11451145
{
11461146
UniValue rv(UniValue::VOBJ);
11471147
rv.pushKV("id", name);

0 commit comments

Comments
 (0)