Skip to content

Commit

Permalink
Fix bad merge. (#904)
Browse files Browse the repository at this point in the history
  • Loading branch information
winder authored Mar 1, 2022
1 parent 23a70a4 commit a0bcd43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idb/postgres/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ func buildTransactionQuery(tf idb.TransactionFilter) (query string, whereArgs []

// join in the root transaction if the returnInnerTxnOnly flag is false
if !tf.ReturnInnerTxnOnly {
query += " LEFT OUTER JOIN txn root ON t.round = root.round AND t.extra->>'root-intra' = root.intra::text"
query += " LEFT OUTER JOIN txn root ON t.round = root.round AND (t.extra->>'root-intra')::int = root.intra"
}

if len(whereParts) > 0 {
Expand Down

0 comments on commit a0bcd43

Please sign in to comment.