From 962a203a858f1be78ff60c93f35233434b77aaac Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Wed, 3 Apr 2024 14:11:40 +0200 Subject: [PATCH] test: fix ipfs dht command --- test/basic_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/basic_test.go b/test/basic_test.go index d76b298..83209e8 100644 --- a/test/basic_test.go +++ b/test/basic_test.go @@ -21,7 +21,7 @@ func init() { BOOTSTRAP_PEER_ADDR = call("bash", "-c", "ipfs bootstrap list | head -n 1") // ipfs name resolve /ipns/en.wikipedia-on-ipfs.org => /ipfs/CID, we remove the /ipfs/ prefix WIKIPEDIA_CID = call("ipfs", "name", "resolve", "/ipns/en.wikipedia-on-ipfs.org")[6:] - WIKIPEDIA_PEER_ID = call("bash", "-c", fmt.Sprintf("ipfs dht findprovs %s | tail -n 1", WIKIPEDIA_CID)) + WIKIPEDIA_PEER_ID = call("bash", "-c", fmt.Sprintf("ipfs routing findprovs %s | tail -n 1", WIKIPEDIA_CID)) WIKIPEDIA_PEER_ADDR = fmt.Sprintf("/p2p/%s", WIKIPEDIA_PEER_ID) }