From c8134924e7ffa456aafbbbd5bb4902ceaa689640 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Tue, 14 Jun 2022 20:43:57 +1000 Subject: [PATCH] fixup! feat(bindnode): add a BindnodeRegistry utility --- node/bindnode/registry/registry.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/node/bindnode/registry/registry.go b/node/bindnode/registry/registry.go index 71e743d9..b619bab9 100644 --- a/node/bindnode/registry/registry.go +++ b/node/bindnode/registry/registry.go @@ -34,8 +34,6 @@ func typeOf(ptrValue interface{}) reflect.Type { return val } -// lookup of cached TypedPrototype (and therefore Type) for a Go type, if not -// found, initial parse and setup and caching of the TypedPrototype will happen func (br BindnodeRegistry) prototypeDataFor(ptrType interface{}) prototypeData { typ := typeOf(ptrType) proto, ok := br[typ]