From db55b6b7240f9261e12e552a62ba4f1a0ef5f8c6 Mon Sep 17 00:00:00 2001 From: Piyal Basu Date: Thu, 1 Feb 2024 11:34:30 -0500 Subject: [PATCH] rm useMercury check for non-Mercury handler (#30) --- src/route/index.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/route/index.ts b/src/route/index.ts index 4c67935..410f4f4 100644 --- a/src/route/index.ts +++ b/src/route/index.ts @@ -247,10 +247,6 @@ export async function initApiServer( const contractId = request.params["contractId"]; const { network, pub_key, soroban_url } = request.query; - if (!useMercury) { - reply.code(400).send(JSON.stringify("Mercury disabled")); - } - try { const data = await mercuryClient.tokenDetails( pub_key,