Skip to content

Commit

Permalink
adding electra version to payload attribute event (#14212)
Browse files Browse the repository at this point in the history
  • Loading branch information
james-prysm authored Jul 12, 2024
1 parent a00b40f commit afb7383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon-chain/rpc/eth/events/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ func (s *Server) sendPayloadAttributes(ctx context.Context, w http.ResponseWrite
SuggestedFeeRecipient: hexutil.Encode(headPayload.FeeRecipient()),
Withdrawals: structs.WithdrawalsFromConsensus(withdrawals),
}
case version.Deneb:
case version.Deneb, version.Electra:
withdrawals, _, err := headState.ExpectedWithdrawals()
if err != nil {
return write(w, flusher, "Could not get head state expected withdrawals: "+err.Error())
Expand Down

0 comments on commit afb7383

Please sign in to comment.