Skip to content

Commit

Permalink
fix: PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
negar-abbasi committed Apr 10, 2024
1 parent 55ac39c commit 298ba67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/features/transactions/components/transaction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const asMultisig = (signature: MultisigTransactionSignature): MultisigModel => {
version: signature.version,
threshold: signature.threshold,
subsigners: signature.subsignature.map((subsignature) => publicKeyToAddress(subsignature['public-key'])),
} satisfies MultisigModel
}
}

export function Transaction({ transaction }: Props) {
Expand Down
2 changes: 1 addition & 1 deletion src/features/transactions/pages/transaction-page.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ describe('when a payment transaction with no children', () => {
})

describe('when rendering a multisig transaction', () => {
it('it should show multisig information with a payment transaction', async () => {
it('it should show the multisig information', async () => {
const multiSigPaymentTransaction = transactionModelMother.paymentTransactionWithNoChildren().build()
vi.mocked(useParams).mockImplementation(() => ({ transactionId: multiSigPaymentTransaction.id }))
const myStore = createStore()
Expand Down

0 comments on commit 298ba67

Please sign in to comment.