mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 10:27:26 +08:00
consider local p2p-circuit addr local-only
This commit is contained in:
parent
1ffd928dfb
commit
f1cb954ca9
@ -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