Skip to content

Commit

Permalink
simplify test
Browse files Browse the repository at this point in the history
  • Loading branch information
mat1asm committed Mar 28, 2024
1 parent d9ca325 commit 7487bf9
Show file tree
Hide file tree
Showing 6 changed files with 1,345 additions and 741 deletions.
5 changes: 4 additions & 1 deletion backend/src/handlers/fund-transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ function getSignature(tx: VersionedTransaction): string {
}

function logSignatures(signedTransactions: VersionedTransaction[]) {
const sigs: { sig: string; instruction?: Instruction | null }[] = []
const sigs: {
sig: string
instruction?: ReturnType<typeof extractCallData>
}[] = []
signedTransactions.forEach((tx) => {
sigs.push({ sig: getSignature(tx), instruction: extractCallData(tx) })
})
Expand Down
Loading

0 comments on commit 7487bf9

Please sign in to comment.