diff --git a/txpool/packets.go b/txpool/packets.go index d124bb091..de778a245 100644 --- a/txpool/packets.go +++ b/txpool/packets.go @@ -82,5 +82,6 @@ func EncodeGetPooledTransactions66(hashes []byte, requestId uint64, encodeBuf [] pos += rlp.EncodeListPrefix(dataLen, encodeBuf[pos:]) pos += rlp.EncodeU64(requestId, encodeBuf[pos:]) pos += rlp.EncodeHashes(hashes, encodeBuf[pos:]) + _ = pos return encodeBuf, nil }