diff options
| author | João Barbosa <[email protected]> | 2018-01-11 13:04:59 +0000 |
|---|---|---|
| committer | João Barbosa <[email protected]> | 2018-09-09 18:00:07 +0100 |
| commit | 54dc13b6a2ea2823d71968049c9ad80648c3d962 (patch) | |
| tree | 192245c01c685ca3d9048f5a3077a9ecdca785e8 /src | |
| parent | Merge #14119: qa: Read reject reasons from debug log, not p2p messages (diff) | |
| download | discoin-54dc13b6a2ea2823d71968049c9ad80648c3d962.tar.xz discoin-54dc13b6a2ea2823d71968049c9ad80648c3d962.zip | |
rpc: Fix SoftForkMajorityDesc and SoftForkDesc signatures
Diffstat (limited to 'src')
| -rw-r--r-- | src/rpc/blockchain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index 6fb04ab00..d698b5779 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -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; @@ -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); |