Commit 0c78255f authored by Juan Batiz-Benet's avatar Juan Batiz-Benet
Browse files

updated multiaddr

parent 46811729
...@@ -100,7 +100,7 @@ func MultiaddrProtocolsMatch(a, b ma.Multiaddr) bool { ...@@ -100,7 +100,7 @@ func MultiaddrProtocolsMatch(a, b ma.Multiaddr) bool {
} }
for i, api := range ap { for i, api := range ap {
if api != bp[i] { if api.Code != bp[i].Code {
return false return false
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment