mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-03-01 22:46:48 +01:00
Compare commits
3 Commits
v1.3.4
...
release/1.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cab802b40f | ||
|
|
869d9792b3 | ||
|
|
d3f8b763bf |
@@ -48,10 +48,10 @@ import (
|
||||
|
||||
const (
|
||||
ClientIdentifier = "Geth"
|
||||
Version = "1.3.4"
|
||||
Version = "1.3.5"
|
||||
VersionMajor = 1
|
||||
VersionMinor = 3
|
||||
VersionPatch = 4
|
||||
VersionPatch = 5
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -491,7 +491,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)
|
||||
|
||||
Reference in New Issue
Block a user