Skip to content

Commit cdf1687

Browse files
committed
fix(cl_events): typo in legacy consolidation query
1 parent 4f95ad7 commit cdf1687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/pkg/exporter/modules/cl_transformers/18_legacy_consolidation_processed.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func (d *LegacyConsolidationProcessedEventTransformer) Transform(tx *sqlx.Tx, ev
6767
goqu.L("(cle.data->>'amount')::bigint").As("amount_consolidated"),
6868
).
6969
Join(goqu.T("validators").As("src"), goqu.On(goqu.Ex{
70-
"src.pubkey": goqu.L(`dgecode(cle.data ->> 'source_pubkey', 'base64')`),
70+
"src.pubkey": goqu.L(`decode(cle.data ->> 'source_pubkey', 'base64')`),
7171
})).
7272
Join(goqu.T("validators").As("tgt"), goqu.On(goqu.Ex{
7373
"tgt.pubkey": goqu.L(`decode(cle.data ->> 'target_pubkey', 'base64')`),

0 commit comments

Comments
 (0)