Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
`UnminBridgeActivityAdditionalData` -> `UnmintBridgeActivityAdditionalData`
  • Loading branch information
michalsmiarowski committed Sep 21, 2023
1 parent 4045f02 commit 5730f1d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/components/tBTC/BridgeActivity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -112,11 +112,11 @@ const ActivityItem: FC<BridgeActivityType> = ({
? RedemptionDetailsLinkBuilder.createFromTxHash(txHash)
.withRedeemer(account!)
.withRedeemerOutputScript(
(additionalData as UnminBridgeActivityAdditionalData)
(additionalData as UnmintBridgeActivityAdditionalData)
.redeemerOutputScript
)
.withWalletPublicKeyHash(
(additionalData as UnminBridgeActivityAdditionalData)
(additionalData as UnmintBridgeActivityAdditionalData)
.walletPublicKeyHash
)
.build()
Expand Down
4 changes: 2 additions & 2 deletions src/store/tbtc/tbtcSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -127,7 +127,7 @@ export const tbtcSlice = createSlice({
blockNumber: number
amount: string
txHash: string
additionalData: UnminBridgeActivityAdditionalData
additionalData: UnmintBridgeActivityAdditionalData
}>
) => {
const {
Expand Down
4 changes: 2 additions & 2 deletions src/threshold-ts/tbtc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export interface BridgeActivity {
blockNumber: number
}

export interface UnminBridgeActivityAdditionalData {
export interface UnmintBridgeActivityAdditionalData {
redeemerOutputScript: string
walletPublicKeyHash: string
}
Expand Down Expand Up @@ -909,7 +909,7 @@ export class TBTC implements ITBTC {
additionalData: {
redeemerOutputScript: event.redeemerOutputScript,
walletPublicKeyHash: event.walletPublicKeyHash,
} as UnminBridgeActivityAdditionalData,
} as UnmintBridgeActivityAdditionalData,
})
}

Expand Down

0 comments on commit 5730f1d

Please sign in to comment.