From ff3cb690b5147e197cfc9e7d2a4d95907e8e5eb9 Mon Sep 17 00:00:00 2001 From: Marius van der Wijden Date: Sat, 15 Mar 2025 11:14:42 +0100 Subject: [PATCH] core/types: doc --- core/types/receipt.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/types/receipt.go b/core/types/receipt.go index 124b5d1515..3aabab516c 100644 --- a/core/types/receipt.go +++ b/core/types/receipt.go @@ -378,6 +378,7 @@ func (rs Receipts) DeriveFields(config *params.ChainConfig, hash common.Hash, nu return nil } +// ReceiptsToRLP encodes a slice of receipts into RLP. func ReceiptsToRLP(receipts []Receipts) []rlp.RawValue { result := make([]rlp.RawValue, 0) for _, receipt := range receipts {