Skip to content

Commit

Permalink
fixup! feat(bindnode): add a BindnodeRegistry utility
Browse files Browse the repository at this point in the history
Co-authored-by: Will <will.scott@protocol.ai>
  • Loading branch information
rvagg and willscott authored Jun 10, 2022
1 parent e52192b commit 7eef888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/bindnode/registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type BindnodeRegistry map[reflect.Type]prototypeData

// NewRegistry creates a new BindnodeRegistry
func NewRegistry() BindnodeRegistry {
return make(map[reflect.Type]prototypeData)
return make(BindnodeRegistry)
}

func typeOf(ptrValue interface{}) reflect.Type {
Expand Down

0 comments on commit 7eef888

Please sign in to comment.