diff --git a/portalnetwork/history/history_network.go b/portalnetwork/history/history_network.go index 661805a1e8..7ade24abd4 100644 --- a/portalnetwork/history/history_network.go +++ b/portalnetwork/history/history_network.go @@ -93,6 +93,7 @@ const requestRetries = 4 func (h *HistoryNetwork) GetBlockHeader(blockHash []byte) (*types.Header, error) { contentKey := newContentKey(BlockHeaderType, blockHash).encode() contentId := h.portalProtocol.ToContentId(contentKey) + h.log.Trace("contentKey convert to contentId", "contentKey", hexutil.Encode(contentKey), "contentId", hexutil.Encode(contentId)) if !h.portalProtocol.InRange(contentId) { return nil, ErrContentOutOfRange }