lol
This commit is contained in:
@@ -1018,7 +1018,7 @@ int CWallet::VerifyAndSetInitialWitness(const CBlockIndex* pindex, bool witnessO
|
|||||||
pblockindex = chainActive[wtxHeight];
|
pblockindex = chainActive[wtxHeight];
|
||||||
::ClearSingleNoteWitnessCache(nd);
|
::ClearSingleNoteWitnessCache(nd);
|
||||||
|
|
||||||
LogPrintf("Setting Initial Sapling Witness for tx %s, %i of %i\n", wtxHash.ToString(), nWitnessTxIncrement, nWitnessTotalTxCount);
|
LogPrintf("%s: Setting Initial Sapling Witness for tx %s, %i of %i\n", __func__, wtxHash.ToString(), nWitnessTxIncrement, nWitnessTotalTxCount);
|
||||||
|
|
||||||
SaplingMerkleTree saplingTree;
|
SaplingMerkleTree saplingTree;
|
||||||
blockRoot = pblockindex->pprev->hashFinalSaplingRoot;
|
blockRoot = pblockindex->pprev->hashFinalSaplingRoot;
|
||||||
@@ -1063,6 +1063,8 @@ int CWallet::VerifyAndSetInitialWitness(const CBlockIndex* pindex, bool witnessO
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(fZdebug)
|
||||||
|
LogPrintf("%s: nMinimumHeight=%d\n",__func__, nMinimumHeight);
|
||||||
return nMinimumHeight;
|
return nMinimumHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1077,10 +1079,11 @@ void CWallet::BuildWitnessCache(const CBlockIndex* pindex, bool witnessOnly)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint256 sproutRoot;
|
|
||||||
uint256 saplingRoot;
|
uint256 saplingRoot;
|
||||||
CBlockIndex* pblockindex = chainActive[startHeight];
|
CBlockIndex* pblockindex = chainActive[startHeight];
|
||||||
int height = chainActive.Height();
|
int height = chainActive.Height();
|
||||||
|
if(fZdebug)
|
||||||
|
LogPrintf("%s: height=%d, startHeight=%\n", __func__, height, startHeight);
|
||||||
|
|
||||||
while (pblockindex) {
|
while (pblockindex) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user