From 3e4310f21bdddcc77c6fecf086eef6a8a60f4ad6 Mon Sep 17 00:00:00 2001 From: Patrick Pfeiffer Date: Wed, 18 Sep 2024 13:57:37 +0200 Subject: [PATCH] fix(api): fix GetValidatorDashboardElDeposits --- backend/pkg/api/data_access/vdb_deposits.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/pkg/api/data_access/vdb_deposits.go b/backend/pkg/api/data_access/vdb_deposits.go index 8c1d49003..db2026a23 100644 --- a/backend/pkg/api/data_access/vdb_deposits.go +++ b/backend/pkg/api/data_access/vdb_deposits.go @@ -134,6 +134,7 @@ func (d *DataAccessService) GetValidatorDashboardElDeposits(ctx context.Context, WithdrawalCredential: t.Hash(hexutil.Encode(row.WithdrawalCredentials)), Amount: utils.GWeiToWei(big.NewInt(row.Amount)), Valid: row.Valid, + From: t.Address{Hash: t.Hash(hexutil.Encode(row.From))}, } addressMapping[hexutil.Encode(row.From)] = nil fromContractStatusRequests[i] = db.ContractInteractionAtRequest{