Skip to content

Commit

Permalink
Remove unnecessary fields in MockBridge class
Browse files Browse the repository at this point in the history
See e814eca.
  • Loading branch information
r-czajkowski committed Jul 6, 2023
1 parent b9633d1 commit 5f0365d
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions typescript/test/utils/mock-bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,6 @@ interface RedemptionProofLogEntry {
walletPublicKey: string
}

interface BuildRedemptionDataLogEntry {
redeemer: Identifier
walletPublicKey: string
mainUtxo: UnspentTransactionOutput
redeemerOutputScript: string
}

/**
* Mock Bridge used for test purposes.
*/
Expand All @@ -63,7 +56,6 @@ export class MockBridge implements Bridge {
private _redemptionProofLog: RedemptionProofLogEntry[] = []
private _deposits = new Map<BigNumberish, RevealedDeposit>()
private _activeWalletPublicKey: string | undefined
private _buildRedemptionDataLog: BuildRedemptionDataLogEntry[] = []

setPendingRedemptions(value: Map<BigNumberish, RedemptionRequest>) {
this._pendingRedemptions = value
Expand All @@ -89,10 +81,6 @@ export class MockBridge implements Bridge {
return this._redemptionProofLog
}

get buildRedemptionDataLog(): BuildRedemptionDataLogEntry[] {
return this._buildRedemptionDataLog
}

setDeposits(value: Map<BigNumberish, RevealedDeposit>) {
this._deposits = value
}
Expand Down

0 comments on commit 5f0365d

Please sign in to comment.