From de6f1594a9d016d9330b5c7442e52363d530520a Mon Sep 17 00:00:00 2001 From: Uday Patil Date: Wed, 28 Aug 2024 18:16:40 -0500 Subject: [PATCH] fix closer assignment --- store/cachemulti/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/cachemulti/store.go b/store/cachemulti/store.go index e3f94320b..ddbdd8d91 100644 --- a/store/cachemulti/store.go +++ b/store/cachemulti/store.go @@ -232,7 +232,7 @@ func (cms Store) CacheMultiStoreForExport(_ int64) (types.CacheMultiStore, error panic("Not implemented") } -func (cms Store) AddCloser(closer io.Closer) { +func (cms *Store) AddCloser(closer io.Closer) { cms.closers = append(cms.closers, closer) }