diff --git a/VERSION b/VERSION index d0149fef74..80e78df683 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.3.4 +1.3.5 diff --git a/cmd/gexp/main.go b/cmd/gexp/main.go index c1e240bde2..3c799f9877 100644 --- a/cmd/gexp/main.go +++ b/cmd/gexp/main.go @@ -1,4 +1,4 @@ -// Copyright 2014 The go-ethereum Authors && Copyright 2015 go-expanse Authors +// Copyright 2014 The go-ethereum Authors && Copyright 2015 go-expanse Authors // This file is part of go-expanse. // // go-expanse is free software: you can redistribute it and/or modify @@ -49,10 +49,10 @@ import ( const ( ClientIdentifier = "Gexp" - Version = "1.3.4" + Version = "1.3.5" VersionMajor = 1 VersionMinor = 3 - VersionPatch = 4 + VersionPatch = 5 ) var ( diff --git a/exp/handler.go b/exp/handler.go index 94bf6f8330..1ba5a7122d 100644 --- a/exp/handler.go +++ b/exp/handler.go @@ -493,7 +493,11 @@ func (pm *ProtocolManager) handleMsg(p *peer) error { uncles[i] = body.Uncles } // Filter out any explicitly requested bodies, deliver the rest to the downloader - if trasactions, uncles := pm.fetcher.FilterBodies(trasactions, uncles, time.Now()); len(trasactions) > 0 || len(uncles) > 0 { + filter := len(trasactions) > 0 || len(uncles) > 0 + if filter { + trasactions, uncles = pm.fetcher.FilterBodies(trasactions, uncles, time.Now()) + } + if len(trasactions) > 0 || len(uncles) > 0 || !filter { err := pm.downloader.DeliverBodies(p.id, trasactions, uncles) if err != nil { glog.V(logger.Debug).Infoln(err)