Skip to content

Commit f6bed1f

Browse files
committed
fix(dashboard_exporter): use string of bool for coalesce in query
1 parent 3e11cbe commit f6bed1f

File tree

1 file changed

+1
-1
lines changed
  • backend/pkg/exporter/db

1 file changed

+1
-1
lines changed

backend/pkg/exporter/db/db.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1857,7 +1857,7 @@ func ElectraGetProcessedDeposits(epoch uint64) ([]constypes.ElectraDeposit, erro
18571857
goqu.L("data->>'amount'").As("amount"),
18581858
goqu.L("data->>'pubkey'").As("pubkey"),
18591859
// SignatureValid field, assume true if not present
1860-
goqu.COALESCE(goqu.L("data->>'signature_valid'"), goqu.L("true")).As("signature_valid"),
1860+
goqu.COALESCE(goqu.L("data->>'signature_valid'"), goqu.L("'true'")).As("signature_valid"),
18611861
).
18621862
From("consensus_layer_events").
18631863
Where(

0 commit comments

Comments
 (0)