Skip to content

Commit

Permalink
feat:check for network
Browse files Browse the repository at this point in the history
  • Loading branch information
ipeleg committed May 8, 2024
1 parent 7df2064 commit 879adfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/seaport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class Seaport {
const hostname = config.openseaHostname;
const network = config.openseaChainName;

if (!hostname) {
if (!network) {
throw new Error("Unsupported chain");
}

Expand Down

0 comments on commit 879adfb

Please sign in to comment.