Skip to content

Commit

Permalink
feat(ipld/merkledag/pb): change protobuf internal registry name to un…
Browse files Browse the repository at this point in the history
…ixfs.v1.pbto prevent collisions with go-merkledag
  • Loading branch information
aschmahmann committed May 30, 2023
1 parent c23df38 commit cc1b63d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ipld/merkledag/pb/merkledag.pb.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ func (m *PBNode) GetData() []byte {
}

func init() {
proto.RegisterType((*PBLink)(nil), "merkledag.pb.PBLink")
proto.RegisterType((*PBNode)(nil), "merkledag.pb.PBNode")
proto.RegisterType((*PBLink)(nil), "merkledag.v1.pb.PBLink")
proto.RegisterType((*PBNode)(nil), "merkledag.v1.pb.PBNode")
}

func init() { proto.RegisterFile("merkledag.proto", fileDescriptor_10837cc3557cec00) }
Expand Down

0 comments on commit cc1b63d

Please sign in to comment.