Browse Source

Remove some sprout code from BuildWitnessCache

pull/117/head
Duke Leto 4 years ago
parent
commit
8a4e72fca2
  1. 4
      src/wallet/wallet.cpp

4
src/wallet/wallet.cpp

@ -1288,10 +1288,6 @@ void CWallet::BuildWitnessCache(const CBlockIndex* pindex, bool witnessOnly)
LogPrintf("Building Witnesses for block %i %.4f complete\n", pblockindex->GetHeight(), pblockindex->GetHeight() / double(height));
}
SproutMerkleTree sproutTree;
sproutRoot = pblockindex->pprev->hashFinalSproutRoot;
pcoinsTip->GetSproutAnchorAt(sproutRoot, sproutTree);
SaplingMerkleTree saplingTree;
saplingRoot = pblockindex->pprev->hashFinalSaplingRoot;
pcoinsTip->GetSaplingAnchorAt(saplingRoot, saplingTree);

Loading…
Cancel
Save