Skip to content

Commit

Permalink
trx ooops
Browse files Browse the repository at this point in the history
  • Loading branch information
ppedziwiatr committed Apr 28, 2023
1 parent 6171a6e commit e274c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gateway/router/routes/sequencerRoute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export async function sequencerRoute(ctx: Router.RouterContext) {
arweave
);

const trx = await dbSource.primaryDb.transaction();
trx = await dbSource.primaryDb.transaction();
const contractPrevSortKey: string | null = await lastTxSync.acquireMutex(contractTag, trx);
const millis = Date.now();
const sortKey = await createSortKey(arweave, jwk, currentBlockId, millis, transaction.id, currentHeight);
Expand Down

0 comments on commit e274c3b

Please sign in to comment.