Skip to content

Commit

Permalink
Finish sus package
Browse files Browse the repository at this point in the history
  • Loading branch information
ChewingGlass committed Jan 24, 2024
1 parent be1b720 commit cdfe375
Show file tree
Hide file tree
Showing 11 changed files with 2,986 additions and 6 deletions.
8 changes: 4 additions & 4 deletions packages/account-postgres-sink-service/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,10 @@ if (!HELIUS_AUTH_SECRET) {
)
.filter(
(_, index) =>
index < tx.transaction.message.header.numRequiredSignatures ||
index >
tx.transaction.message.header.numReadonlySignedAccounts +
tx.transaction.message.header.numRequiredSignatures
index <
tx.transaction.message.header.numRequiredSignatures -
tx.transaction.message.header.numReadonlySignedAccounts ||
index >= tx.transaction.message.header.numRequiredSignatures
)
)
.map((k) => new PublicKey(k));
Expand Down
4 changes: 4 additions & 0 deletions packages/sus/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
npm-debug.log
dist/
tmp/
./node_modules
Loading

0 comments on commit cdfe375

Please sign in to comment.