mirror of https://github.com/status-im/op-geth.git
iterator returned wrong value
This commit is contained in:
parent
1821d1af48
commit
ecd10d2cf7
|
@ -213,8 +213,7 @@ func (self *ethProtocol) handle() error {
|
|||
|
||||
var i int
|
||||
iter := func() (hash common.Hash, ok bool) {
|
||||
var h common.Hash
|
||||
err := msgStream.Decode(&h)
|
||||
err := msgStream.Decode(&hash)
|
||||
if err == rlp.EOL {
|
||||
return common.Hash{}, false
|
||||
} else if err != nil {
|
||||
|
|
Loading…
Reference in New Issue