From 28f5f51e5ef31ba0d879d9bc52db16bc0db78c7e Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Mon, 6 Apr 2020 23:03:27 -0400 Subject: [PATCH] Do not call BatchWrite* for sprout --- src/txdb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/txdb.cpp b/src/txdb.cpp index b45df4448..46140f546 100644 --- a/src/txdb.cpp +++ b/src/txdb.cpp @@ -199,10 +199,10 @@ bool CCoinsViewDB::BatchWrite(CCoinsMap &mapCoins, mapCoins.erase(itOld); } - ::BatchWriteAnchors(batch, mapSproutAnchors, DB_SPROUT_ANCHOR); + //::BatchWriteAnchors(batch, mapSproutAnchors, DB_SPROUT_ANCHOR); ::BatchWriteAnchors(batch, mapSaplingAnchors, DB_SAPLING_ANCHOR); - ::BatchWriteNullifiers(batch, mapSproutNullifiers, DB_NULLIFIER); + //::BatchWriteNullifiers(batch, mapSproutNullifiers, DB_NULLIFIER); ::BatchWriteNullifiers(batch, mapSaplingNullifiers, DB_SAPLING_NULLIFIER); if (!hashBlock.IsNull())