From 6b42de2b6cac7e131946d7a123e2e6fc8fb44b0f Mon Sep 17 00:00:00 2001 From: kuba-4chain Date: Tue, 10 Sep 2024 14:32:28 +0200 Subject: [PATCH] chore: fix formatting --- internal/blocktx/store/postgresql/upsert_block_transactions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/blocktx/store/postgresql/upsert_block_transactions.go b/internal/blocktx/store/postgresql/upsert_block_transactions.go index 4dbaf458e..60f63d70c 100644 --- a/internal/blocktx/store/postgresql/upsert_block_transactions.go +++ b/internal/blocktx/store/postgresql/upsert_block_transactions.go @@ -47,7 +47,7 @@ func (p *PostgreSQL) UpsertBlockTransactions(ctx context.Context, blockId uint64 t.hash, m.merkle_path FROM blocktx.transactions t - JOIN blocktx.block_transactions_map AS m ON t.id = m.txid + JOIN blocktx.block_transactions_map AS m ON t.id = m.txid WHERE m.blockid = $1 AND t.is_registered = TRUE `