Skip to content

Commit

Permalink
make tx tracking not depend on nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Oct 13, 2023
1 parent 8d5863e commit 0ac95d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helpers/tx.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { getEndpoints, getHardhatConfigNetworks } from "@zetachain/networks";
import { getEndpoints } from "@zetachain/networks/dist/src/getEndpoints";
import networks from "@zetachain/networks/dist/src/networks";
import axios from "axios";
import { ethers } from "ethers";

Expand Down Expand Up @@ -54,7 +55,6 @@ const fetchCCTXData = async (
pendingNonces: any,
json: Boolean
) => {
const networks = getHardhatConfigNetworks();
const cctx = await getCCTX(hash, API);
const receiver_chainId = cctx?.outbound_tx_params[0]?.receiver_chainId;
const outbound_tx_hash = cctx?.outbound_tx_params[0]?.outbound_tx_hash;
Expand Down

0 comments on commit 0ac95d8

Please sign in to comment.