diff --git a/src/components/tBTC/BridgeActivity.tsx b/src/components/tBTC/BridgeActivity.tsx index ab7f42c05..39399a178 100644 --- a/src/components/tBTC/BridgeActivity.tsx +++ b/src/components/tBTC/BridgeActivity.tsx @@ -19,7 +19,7 @@ import { import { BridgeActivityStatus, BridgeActivity as BridgeActivityType, - UnminBridgeActivityAdditionalData, + UnmintBridgeActivityAdditionalData, } from "../../threshold-ts/tbtc" import emptyHistoryImageSrcDark from "../../static/images/tBTC-bridge-no-history-dark.svg" import emptyHistoryImageSrcLight from "../../static/images/tBTC-bridge-no-history-light.svg" @@ -112,11 +112,11 @@ const ActivityItem: FC = ({ ? RedemptionDetailsLinkBuilder.createFromTxHash(txHash) .withRedeemer(account!) .withRedeemerOutputScript( - (additionalData as UnminBridgeActivityAdditionalData) + (additionalData as UnmintBridgeActivityAdditionalData) .redeemerOutputScript ) .withWalletPublicKeyHash( - (additionalData as UnminBridgeActivityAdditionalData) + (additionalData as UnmintBridgeActivityAdditionalData) .walletPublicKeyHash ) .build() diff --git a/src/store/tbtc/tbtcSlice.ts b/src/store/tbtc/tbtcSlice.ts index d919e4cf3..c0ce5ea11 100644 --- a/src/store/tbtc/tbtcSlice.ts +++ b/src/store/tbtc/tbtcSlice.ts @@ -5,7 +5,7 @@ import { UpdateStateActionPayload } from "../../types/state" import { BridgeActivityStatus, BridgeActivity, - UnminBridgeActivityAdditionalData, + UnmintBridgeActivityAdditionalData, } from "../../threshold-ts/tbtc" import { featureFlags } from "../../constants" import { startAppListening } from "../listener" @@ -127,7 +127,7 @@ export const tbtcSlice = createSlice({ blockNumber: number amount: string txHash: string - additionalData: UnminBridgeActivityAdditionalData + additionalData: UnmintBridgeActivityAdditionalData }> ) => { const { diff --git a/src/threshold-ts/tbtc/index.ts b/src/threshold-ts/tbtc/index.ts index b4b15dd6c..692930095 100644 --- a/src/threshold-ts/tbtc/index.ts +++ b/src/threshold-ts/tbtc/index.ts @@ -77,7 +77,7 @@ export interface BridgeActivity { blockNumber: number } -export interface UnminBridgeActivityAdditionalData { +export interface UnmintBridgeActivityAdditionalData { redeemerOutputScript: string walletPublicKeyHash: string } @@ -909,7 +909,7 @@ export class TBTC implements ITBTC { additionalData: { redeemerOutputScript: event.redeemerOutputScript, walletPublicKeyHash: event.walletPublicKeyHash, - } as UnminBridgeActivityAdditionalData, + } as UnmintBridgeActivityAdditionalData, }) }