diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-21 01:00:54 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-21 01:00:54 +0800 |
commit | ecd10d2cf765072cd74347b9e0ca2bb85091450f (patch) | |
tree | 416a60fb2242569683be8936d21e147ac75dbba1 /eth/protocol.go | |
parent | 1821d1af48e5fa11eb81fe7f6e5372737bb36ec9 (diff) | |
download | go-tangerine-ecd10d2cf765072cd74347b9e0ca2bb85091450f.tar go-tangerine-ecd10d2cf765072cd74347b9e0ca2bb85091450f.tar.gz go-tangerine-ecd10d2cf765072cd74347b9e0ca2bb85091450f.tar.bz2 go-tangerine-ecd10d2cf765072cd74347b9e0ca2bb85091450f.tar.lz go-tangerine-ecd10d2cf765072cd74347b9e0ca2bb85091450f.tar.xz go-tangerine-ecd10d2cf765072cd74347b9e0ca2bb85091450f.tar.zst go-tangerine-ecd10d2cf765072cd74347b9e0ca2bb85091450f.zip |
iterator returned wrong value
Diffstat (limited to 'eth/protocol.go')
-rw-r--r-- | eth/protocol.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/eth/protocol.go b/eth/protocol.go index 1999d9807..494c1c1bb 100644 --- a/eth/protocol.go +++ b/eth/protocol.go @@ -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 { |