Commit f01c9625 authored by Steven Allen's avatar Steven Allen

fix(migration): correctly migrate quic addresses

1. Don't add quic addresses when they're already present (correctly detect quic addresses).
2. Correctly distinguish between quic addresses and quic + relay addresses.
3. Only add quic addresses to mirror tcp addresses, not tcp/ws addresses.

fixes #7444
parent 970a0b41
......@@ -15,7 +15,7 @@ import (
"strings"
)
var DistPath = "https://ipfs.io/ipfs/QmRnvRrRwto4QAMuwWeEU9GpNaHKqQPdvdrNeGaXg7yruC"
var DistPath = "https://ipfs.io/ipfs/QmQWvUrSwGHWKaoJnUrLQoBy9ikfiiyRrXKBFSHUTcS6aM"
func init() {
if dist := os.Getenv("IPFS_DIST_PATH"); dist != "" {
......
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