From c3ea9c67d730173a991662a24d4938e44b128252 Mon Sep 17 00:00:00 2001 From: healthykim Date: Wed, 6 May 2026 10:33:32 +0200 Subject: [PATCH] core/txpool: add comments on GetRLP --- core/txpool/blobpool/blobpool.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/txpool/blobpool/blobpool.go b/core/txpool/blobpool/blobpool.go index 6b0ffded72..01f8dec60a 100644 --- a/core/txpool/blobpool/blobpool.go +++ b/core/txpool/blobpool/blobpool.go @@ -1573,7 +1573,8 @@ func (p *BlobPool) Get(hash common.Hash) *types.Transaction { return ptx.ToTx() } -// GetRLP returns a RLP-encoded transaction for network if it is contained in the pool. +// GetRLP returns a RLP-encoded transaction for p2p messages, converted from +// the pool's internal type, if it is contained in the pool. func (p *BlobPool) GetRLP(hash common.Hash) []byte { data := p.getRLP(hash) rlp, err := encodeForNetwork(data)