Skip to content

Commit

Permalink
more fixes related to filter function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
aschmahmann committed Apr 30, 2021
1 parent aaf53b1 commit 02efa46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dht_filters.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func getCachedRouter() routing.Router {
func PrivateRoutingTableFilter(dht interface{}, p peer.ID) bool {
d := dht.(hasHost)
conns := d.Host().Network().ConnsToPeer(p)
return privRTFilter(d.Host(), conns)
return privRTFilter(d, conns)
}

func privRTFilter(dht interface{}, conns []network.Conn) bool {
Expand Down

0 comments on commit 02efa46

Please sign in to comment.