mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
eth/protocols/eth: fix error
This commit is contained in:
parent
a9a94e3964
commit
6cd2580b2b
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ func (rl *ReceiptList69) DecodeRLP(s *rlp.Stream) error {
|
||||||
var item Receipt
|
var item Receipt
|
||||||
err := item.DecodeRLP(s)
|
err := item.DecodeRLP(s)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("receipt %d: %v", err)
|
return fmt.Errorf("receipt %d: %v", i, err)
|
||||||
}
|
}
|
||||||
rl.items = append(rl.items, item)
|
rl.items = append(rl.items, item)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue