Skip to content

Commit

Permalink
fixup! feat(bindnode): add a BindnodeRegistry utility
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Jun 20, 2022
1 parent 97a3f63 commit 084cb79
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions node/bindnode/registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 084cb79

Please sign in to comment.