Skip to content

Commit

Permalink
fix type errors of chainselect
Browse files Browse the repository at this point in the history
Signed-off-by: Nitesh Balusu <[email protected]>
  • Loading branch information
niteshbalusu11 committed Dec 31, 2023
1 parent c0459ed commit 7fcc5f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/chain-select.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Chain } from "./build";

export function chainSelect<T>(chains: { mainnet: T; testnet?: T; regtest?: T; signet?: T }) {
export function chainSelect<T>(chains: { mainnet: T; testnet: T; regtest: T; signet: T }) {
if (Chain === "mainnet") {
return chains.mainnet;
} else if (Chain === "testnet") {
Expand Down

0 comments on commit 7fcc5f4

Please sign in to comment.