From dc12e8c3d57657b2326d9c3858b18ea9f314bcac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mats=20T=C3=B6rnberg?= Date: Mon, 13 Oct 2025 20:10:49 +0200 Subject: [PATCH] take the correct type --- pkg/actor/mutation_registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/actor/mutation_registry.go b/pkg/actor/mutation_registry.go index 37130bf..65be2ba 100644 --- a/pkg/actor/mutation_registry.go +++ b/pkg/actor/mutation_registry.go @@ -154,7 +154,7 @@ func (r *ProtoMutationRegistry) Apply(grain any, msg ...proto.Message) error { } for _, m := range msg { - rt := indirectType(reflect.TypeOf(msg)) + rt := indirectType(reflect.TypeOf(m)) r.mutationRegistryMu.RLock() entry, ok := r.mutationRegistry[rt] r.mutationRegistryMu.RUnlock()