Adjust rewind logic to use the network upgrade mechanism

This commit is contained in:
Jack Grigg
2018-01-27 23:37:43 +00:00
parent 89f20450c2
commit 9e851450ab
5 changed files with 70 additions and 14 deletions

View File

@@ -309,6 +309,7 @@ bool CBlockTreeDB::LoadBlockIndexGuts()
pindexNew->nNonce = diskindex.nNonce;
pindexNew->nSolution = diskindex.nSolution;
pindexNew->nStatus = diskindex.nStatus;
pindexNew->nConsensusBranchId = diskindex.nConsensusBranchId;
pindexNew->nTx = diskindex.nTx;
pindexNew->nSproutValue = diskindex.nSproutValue;