Skip to content

Commit

Permalink
rm useMercury check for non-Mercury handler (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
piyalbasu authored Feb 1, 2024
1 parent b45f7c4 commit db55b6b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/route/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit db55b6b

Please sign in to comment.