From 0ab648eebdb28bdd68fbfc847456990d32ddfc4c Mon Sep 17 00:00:00 2001 From: Charles Billette Date: Wed, 4 Sep 2024 08:18:05 -0400 Subject: [PATCH] fix transactions cache --- data/psql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/psql.go b/data/psql.go index 577fbfa..fd83976 100644 --- a/data/psql.go +++ b/data/psql.go @@ -91,8 +91,8 @@ func (p *Psql) handleTransaction(dbBlockID int64, transactionHash string) (dbTra return 0, fmt.Errorf("inserting transaction: %w", err) } - p.TransactionIDs[transactionHash] = dbTransactionID err = row.Scan(&dbTransactionID) + p.TransactionIDs[transactionHash] = dbTransactionID return }