We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a988338 commit 8d5e2c3Copy full SHA for 8d5e2c3
examples/api.js
@@ -81,7 +81,7 @@ function waitForTransaction(tx, signer, txName, txMode = TX_MODE_IN_BLOCK) {
81
});
82
}
83
84
-export async function fetchCid(httpIpfsApi, cid, maxRetries = 10, initialDelay = 2000) {
+export async function fetchCid(httpIpfsApi, cid) {
85
const contentUrl = `${httpIpfsApi}/ipfs/${cid.toString()}`;
86
console.log('⬇️ Downloading the full content (no chunking) by cid from url: ', contentUrl);
87
const res = await fetch(contentUrl);
0 commit comments