Skip to content

Commit

Permalink
FIXME: fallback to api2.drand.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Aug 21, 2024
1 parent 7398e0a commit e35c089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/drand-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const DRAND_OPTIONS = {
}
}

const DRAND_URL = `https://api.drand.sh/${DRAND_OPTIONS.chainVerificationParams.chainHash}`
const DRAND_URL = `https://api2.drand.sh/${DRAND_OPTIONS.chainVerificationParams.chainHash}`
const chain = new HttpCachingChain(DRAND_URL, DRAND_OPTIONS)
const client = new HttpChainClient(chain, DRAND_OPTIONS)

Expand Down

0 comments on commit e35c089

Please sign in to comment.