mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 20:56:42 +00:00
Refactor DecodeRLP to use ReceiptForStorage method
This commit is contained in:
parent
ec41df0dba
commit
19d18006e9
1 changed files with 1 additions and 1 deletions
|
|
@ -674,7 +674,7 @@ type receiptLogs struct {
|
|||
// DecodeRLP implements rlp.Decoder.
|
||||
func (r *receiptLogs) DecodeRLP(s *rlp.Stream) error {
|
||||
var rs types.ReceiptForStorage
|
||||
if err := s.Decode(&rs); err != nil {
|
||||
if err := rs.DecodeRLP(s); err != nil {
|
||||
return err
|
||||
}
|
||||
r.Logs = rs.Logs
|
||||
|
|
|
|||
Loading…
Reference in a new issue