From e83a27ae3fadd3bb7bca819d4dfe129dba9a328e Mon Sep 17 00:00:00 2001 From: zenground0 Date: Thu, 26 Dec 2024 11:45:04 +0530 Subject: [PATCH] Testing repo must now accept hot blockstore domain --- node/repo/memrepo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/repo/memrepo.go b/node/repo/memrepo.go index d602ae8e45..5da2b1711b 100644 --- a/node/repo/memrepo.go +++ b/node/repo/memrepo.go @@ -254,7 +254,7 @@ func (lmem *lockedMemRepo) Datastore(_ context.Context, ns string) (datastore.Ba } func (lmem *lockedMemRepo) Blockstore(ctx context.Context, domain BlockstoreDomain) (blockstore.Blockstore, func() error, error) { - if domain != UniversalBlockstore { + if domain != UniversalBlockstore && domain != HotBlockstore { return nil, nil, ErrInvalidBlockstoreDomain } return lmem.mem.blockstore, func() error { return nil }, nil