Skip to content

Commit

Permalink
fix(udplite): wrong network
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Jul 18, 2024
1 parent fc7f1d9 commit 9d986bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gold/p2p/udplite/udp.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func (ep *EndPoint) String() string {
}

func (ep *EndPoint) Network() string {
return (*net.UDPAddr)(ep).Network()
return "udplite"
}

func (ep *EndPoint) Euqal(ep2 p2p.EndPoint) bool {
Expand Down

0 comments on commit 9d986bb

Please sign in to comment.