From 879adfbab81cabb5b36f0dbfb599067ec236aad3 Mon Sep 17 00:00:00 2001 From: Idan Peleg Date: Wed, 8 May 2024 15:42:16 -0400 Subject: [PATCH] feat:check for network --- src/utils/seaport.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/seaport.ts b/src/utils/seaport.ts index dc30dc5..8488b4a 100644 --- a/src/utils/seaport.ts +++ b/src/utils/seaport.ts @@ -54,7 +54,7 @@ export class Seaport { const hostname = config.openseaHostname; const network = config.openseaChainName; - if (!hostname) { + if (!network) { throw new Error("Unsupported chain"); }