mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-03-05 00:07:33 +08:00
consider local p2p-circuit addr local-only
This commit is contained in:
parent
0719a19c96
commit
a2a1964ebc
@ -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