Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

fix: when hole punching is enabled by default #443

Merged
merged 1 commit into from
Apr 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 7 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
"wherearewe": "^1.0.0"
},
"devDependencies": {
"go-ipfs": "^0.11.0",
"go-ipfs": "^0.12.2",
"ipfs": "^0.61.0",
"ipfs-http-client": "^55.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup-libp2p-relay-daemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async function getDownloadURL (version, platform, arch, distUrl) {
}

if (!data.platforms[platform].archs[arch]) {
throw new Error(`No binary available for arch '${arch}'`)
throw new Error(`No binary available for platform '${platform}' and arch '${arch}'`)
}

const link = data.platforms[platform].archs[arch].link
Expand Down
2 changes: 2 additions & 0 deletions test/utils/circuit.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export async function createGo (addrs, factory, relay) {
Swarm: addrs
},
Swarm: {
EnableHolePunching: false,
// go uses circuit v2
RelayClient: {
Enabled: true,
Expand Down Expand Up @@ -130,6 +131,7 @@ export function createGoRelay (addrs, factory) {
Swarm: addrs
},
Swarm: {
EnableHolePunching: false,
// go uses circuit v2
RelayClient: {
Enabled: false
Expand Down