Skip to content

Commit

Permalink
allow use of the cas-direct address (#2874)
Browse files Browse the repository at this point in the history
  • Loading branch information
gvelez17 authored Jul 26, 2023
1 parent 40a9d38 commit af51e0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/ceramic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,7 @@ export class Ceramic implements CeramicApi {
if (
(networkOptions.name == Networks.MAINNET || networkOptions.name == Networks.ELP) &&
anchorServiceUrl !== 'https://cas-internal.3boxlabs.com' &&
anchorServiceUrl !== 'https://cas-direct.3boxlabs.com' &&
anchorServiceUrl !== DEFAULT_ANCHOR_SERVICE_URLS[networkOptions.name]
) {
throw new Error('Cannot use custom anchor service on Ceramic mainnet')
Expand Down

0 comments on commit af51e0a

Please sign in to comment.