Skip to content

Commit

Permalink
Testing repo must now accept hot blockstore domain
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenGround0 committed Dec 26, 2024
1 parent 466750e commit e83a27a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/repo/memrepo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e83a27a

Please sign in to comment.