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

Commit

Permalink
fix: EnableHolePunching enabled by default
Browse files Browse the repository at this point in the history
This fixes interop tests when Swarm.EnableHolePunching in go-ipfs is
enabled by default.

Ref. ipfs/kubo#8748
  • Loading branch information
lidel committed Feb 22, 2022
1 parent 4826e1a commit 1236ab4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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
1 change: 1 addition & 0 deletions test/utils/circuit.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ export function createGoRelay (addrs, factory) {
Swarm: addrs
},
Swarm: {
EnableHolePunching: false, // depends on Swarm.RelayClient.Enabled
// go uses circuit v2
RelayClient: {
Enabled: false
Expand Down

0 comments on commit 1236ab4

Please sign in to comment.