mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-01-31 10:30:52 +00:00
Merge pull request #1601 from langerhans/1.14-supermajority-rpc
Fix RPC description of supermajority based forks
This commit is contained in:
commit
c348148022
@ -1076,7 +1076,7 @@ static UniValue SoftForkMajorityDesc(int version, CBlockIndex* pindex, const Con
|
||||
CBlockIndex* pstart = pindex;
|
||||
for (int i = 0; i < consensusParams.nMajorityWindow && pstart != NULL; i++)
|
||||
{
|
||||
if (pstart->nVersion >= version)
|
||||
if (pstart->GetBaseVersion() >= version)
|
||||
++nFound;
|
||||
pstart = pstart->pprev;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user