From 6b8c60a65971cc8d53bdad136d2ae2d2f338ede3 Mon Sep 17 00:00:00 2001 From: vyzo Date: Tue, 2 Mar 2021 20:36:17 +0200 Subject: [PATCH] don't ID wrap the hotstore --- node/modules/blockstore.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/node/modules/blockstore.go b/node/modules/blockstore.go index c85010f40..c1c52fafe 100644 --- a/node/modules/blockstore.go +++ b/node/modules/blockstore.go @@ -63,8 +63,7 @@ func BadgerHotBlockstore(lc fx.Lifecycle, r repo.LockedRepo) (dtypes.HotBlocksto return bs.Close() }}) - hot := blockstore.WrapIDStore(bs) - return hot, err + return bs, nil } func SplitBlockstore(cfg *config.Chainstore) func(lc fx.Lifecycle, r repo.LockedRepo, ds dtypes.MetadataDS, cold dtypes.UniversalBlockstore, hot dtypes.HotBlockstore) (dtypes.SplitBlockstore, error) {