mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
core/types: doc
This commit is contained in:
parent
1cf340ddbd
commit
ff3cb690b5
1 changed files with 1 additions and 0 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue