don't ID wrap the hotstore
This commit is contained in:
parent
d2d0980532
commit
6b8c60a659
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user