Skip to content

Commit

Permalink
Merge pull request ethereum#11 from expanse-project/rebase-1.3.4
Browse files Browse the repository at this point in the history
hotfix 1.3.5
  • Loading branch information
chrisfranko committed Mar 7, 2016
2 parents 46da3be + fa5f676 commit fa6fc40
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.4
1.3.5
6 changes: 3 additions & 3 deletions cmd/gexp/main.go
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 (
Expand Down
6 changes: 5 additions & 1 deletion exp/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fa6fc40

Please sign in to comment.