From 890bb8fd0f4ddad192bf36365474b932aa438d61 Mon Sep 17 00:00:00 2001 From: Thunnini Date: Mon, 19 Dec 2022 21:59:59 +0900 Subject: [PATCH] Minor fix --- pages/complete/index.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pages/complete/index.tsx b/pages/complete/index.tsx index 7b89148..9426c13 100644 --- a/pages/complete/index.tsx +++ b/pages/complete/index.tsx @@ -15,6 +15,7 @@ import { TendermintTxTracer } from "@keplr-wallet/cosmos"; import { queryAddressesFromTwitterName } from "../../queries"; import { RegisteredAddresses } from "../../types"; import { SHARE_URL } from "../../constants/twitter"; +import { RPC_URL } from "../../constants/icns"; export default function CompletePage() { const router = useRouter(); @@ -34,10 +35,7 @@ export default function CompletePage() { }, [router.query]); const initialize = async (txHash: string, twitterUserName: string) => { - const txTracer = new TendermintTxTracer( - "https://rpc.testnet.osmosis.zone", - "/websocket", - ); + const txTracer = new TendermintTxTracer(RPC_URL, "/websocket"); try { const result: { code?: number } = await txTracer.traceTx(