Skip to content

Commit 23104b7

Browse files
committed
chore: log contentKey convert to contentId
1 parent c9d6817 commit 23104b7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

portalnetwork/history/history_network.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ const requestRetries = 4
9393
func (h *HistoryNetwork) GetBlockHeader(blockHash []byte) (*types.Header, error) {
9494
contentKey := newContentKey(BlockHeaderType, blockHash).encode()
9595
contentId := h.portalProtocol.ToContentId(contentKey)
96+
h.log.Trace("contentKey convert to contentId", "contentKey", hexutil.Encode(contentKey), "contentId", hexutil.Encode(contentId))
9697
if !h.portalProtocol.InRange(contentId) {
9798
return nil, ErrContentOutOfRange
9899
}

0 commit comments

Comments
 (0)