mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-01 20:48:38 +00:00
Apply suggestion from @s1na
This commit is contained in:
parent
6abf72e5bb
commit
ff665b4e37
1 changed files with 1 additions and 2 deletions
|
|
@ -1576,8 +1576,7 @@ func (p *BlobPool) Get(hash common.Hash) *types.Transaction {
|
||||||
func (p *BlobPool) GetRLP(hash common.Hash) []byte {
|
func (p *BlobPool) GetRLP(hash common.Hash) []byte {
|
||||||
data := p.getRLP(hash)
|
data := p.getRLP(hash)
|
||||||
if len(data) == 0 {
|
if len(data) == 0 {
|
||||||
// Not in this pool. The TxPool aggregator probes every subpool, so
|
// Not in this pool, do not log.
|
||||||
// this is the common case for any non-blob hash; do not log.
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
rlp, err := encodeForNetwork(data)
|
rlp, err := encodeForNetwork(data)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue