mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-03-04 15:57:44 +08:00
consider local p2p-circuit addr local-only
This commit is contained in:
parent
76dcb238d8
commit
204c3c2e1f
@ -1700,7 +1700,7 @@ func (b *BlossomSub) isLocalOnlyAddr(addr ma.Multiaddr) bool {
|
||||
if err != nil {
|
||||
ipComponent, err = addr.ValueForProtocol(ma.P_IP6)
|
||||
if err != nil {
|
||||
return false
|
||||
return addr.String() == "/p2p-circuit"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user