Skip to content

Commit

Permalink
Add index
Browse files Browse the repository at this point in the history
Signed-off-by: KayleCoder <kalecoder@outlook.com>
  • Loading branch information
KayleCoder committed Jan 18, 2024
1 parent 3e25b79 commit 2c465f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ app.get('/blob/:hash/txData', async (req: any, res: any) => {
if (hash) {
const result = await queryForArray(`SELECT
\tbt.tx_hash,
\ttr.input_data
\ttr.input_data,
\tbt.index
FROM
\tblobs_on_transactions AS bt
\tJOIN "transaction" AS tr ON bt.tx_hash = tr.hash
Expand Down

0 comments on commit 2c465f8

Please sign in to comment.