Skip to content

Commit

Permalink
rpc: Fix SoftForkMajorityDesc and SoftForkDesc signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
promag committed Sep 9, 2018
1 parent cb25cd6 commit 54dc13b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rpc/blockchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ static UniValue verifychain(const JSONRPCRequest& request)
}

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

static UniValue SoftForkDesc(const std::string &name, int version, CBlockIndex* pindex, const Consensus::Params& consensusParams)
static UniValue SoftForkDesc(const std::string &name, int version, const CBlockIndex* pindex, const Consensus::Params& consensusParams)
{
UniValue rv(UniValue::VOBJ);
rv.pushKV("id", name);
Expand Down

0 comments on commit 54dc13b

Please sign in to comment.