core/types: doc

This commit is contained in:
Marius van der Wijden 2025-03-15 11:14:42 +01:00 committed by Felix Lange
parent 1cf340ddbd
commit ff3cb690b5

View file

@ -378,6 +378,7 @@ func (rs Receipts) DeriveFields(config *params.ChainConfig, hash common.Hash, nu
return nil return nil
} }
// ReceiptsToRLP encodes a slice of receipts into RLP.
func ReceiptsToRLP(receipts []Receipts) []rlp.RawValue { func ReceiptsToRLP(receipts []Receipts) []rlp.RawValue {
result := make([]rlp.RawValue, 0) result := make([]rlp.RawValue, 0)
for _, receipt := range receipts { for _, receipt := range receipts {