diff --git a/backend/pkg/executionlayer/transformer.go b/backend/pkg/executionlayer/transformer.go index 98c0366d5..e1fc5b8e5 100644 --- a/backend/pkg/executionlayer/transformer.go +++ b/backend/pkg/executionlayer/transformer.go @@ -669,7 +669,7 @@ func getLogTopics(log *types.Eth1Log) []common.Hash { func getTxRecipient(tx *types.Eth1Transaction) ([]byte, bool) { to := tx.GetTo() isContract := false - if !bytes.Equal(tx.GetContractAddress(), common.Address{}.Bytes()) { + if tx.GetContractAddress() != nil && !bytes.Equal(tx.GetContractAddress(), common.Address{}.Bytes()) { to = tx.GetContractAddress() isContract = true }