fix(migration): migrate /ipfs/ bootstrappers to /p2p/

1. We should have done this in 7-to-8 anyways, but didn't in some cases.
2. We assume these addresses use /p2p/ in the 9-to-10 migration.

(cherry picked from commit ed1e54ebf8)
This commit is contained in:
Steven Allen 2020-06-09 11:05:59 -07:00
parent b422c01a2a
commit 9a06fdf0cc

View File

@ -15,7 +15,7 @@ import (
"strings"
)
var DistPath = "https://ipfs.io/ipfs/QmQWvUrSwGHWKaoJnUrLQoBy9ikfiiyRrXKBFSHUTcS6aM"
var DistPath = "https://ipfs.io/ipfs/Qmdo5m6bpQXCayzfGghyvgXJdVHSsXsCKDUo9vWktDKq3K"
func init() {
if dist := os.Getenv("IPFS_DIST_PATH"); dist != "" {