Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
Removed unused imports and variables
  • Loading branch information
kpyszkowski committed Oct 26, 2023
1 parent 6b811a6 commit 7baf050
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/threshold-ts/tbtc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ import {
findWalletForRedemption,
} from "@keep-network/tbtc-v2.ts/dist/src/redemption"
import { TBTCToken as ChainTBTCToken } from "@keep-network/tbtc-v2.ts/dist/src/chain"
import { getThresholdLib } from "../../utils/getThresholdLib"

export enum BridgeActivityStatus {
PENDING = "PENDING",
Expand Down
3 changes: 0 additions & 3 deletions src/utils/tBTC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,13 @@ import {
createOutputScriptFromAddress,
prependScriptPubKeyByLength,
} from "../threshold-ts/utils"
import { getThresholdLib } from "./getThresholdLib"

const MINTING_MAINNET_BTC_RECOVERY_ADDRESS_PREFIXES = ["1", "bc1"] as const
const MINTING_TESTNET_BTC_RECOVERY_ADDRESS_PREFIXES = ["m", "n", "tb1"] as const

const UNMINTING_MAINNET_BTC_ADDRESS_PREFIXES = ["1", "bc1", "3"] as const
const UNMINTING_TESTNET_BTC_ADDRESS_PREFIXES = ["m", "n", "tb1", "2"] as const

const bitcoinNetwork = getThresholdLib().tbtc.bitcoinNetwork

type SupportedBitcoinNetworks = Exclude<BitcoinNetwork, "unknown">

const supportedAddressPrefixes: Record<
Expand Down

0 comments on commit 7baf050

Please sign in to comment.