aboutsummaryrefslogtreecommitdiffstats
path: root/eth/handler.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-07-14 16:22:58 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-07-15 21:52:55 +0800
commit2c2e389b778b490fcaf14d9cc45a750647ca5c68 (patch)
tree0534f50f26ce5f62b1acaf0c18667b6cc0998103 /eth/handler.go
parent3291235711082759cd7b70253c02150a80d57011 (diff)
downloadgo-tangerine-2c2e389b778b490fcaf14d9cc45a750647ca5c68.tar
go-tangerine-2c2e389b778b490fcaf14d9cc45a750647ca5c68.tar.gz
go-tangerine-2c2e389b778b490fcaf14d9cc45a750647ca5c68.tar.bz2
go-tangerine-2c2e389b778b490fcaf14d9cc45a750647ca5c68.tar.lz
go-tangerine-2c2e389b778b490fcaf14d9cc45a750647ca5c68.tar.xz
go-tangerine-2c2e389b778b490fcaf14d9cc45a750647ca5c68.tar.zst
go-tangerine-2c2e389b778b490fcaf14d9cc45a750647ca5c68.zip
cmd, core, eth, miner, params, tests: finalize the DAO fork
Diffstat (limited to 'eth/handler.go')
-rw-r--r--eth/handler.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/eth/handler.go b/eth/handler.go
index 946d5930f..01550e6c2 100644
--- a/eth/handler.go
+++ b/eth/handler.go
@@ -513,7 +513,7 @@ func (pm *ProtocolManager) handleMsg(p *peer) error {
}
// If we're seemingly on the same chain, disable the drop timer
if verifyDAO {
- glog.V(logger.Info).Infof("%v: seems to be on the same side of the DAO fork", p)
+ glog.V(logger.Debug).Infof("%v: seems to be on the same side of the DAO fork", p)
p.forkDrop.Stop()
p.forkDrop = nil
return nil
@@ -529,11 +529,11 @@ func (pm *ProtocolManager) handleMsg(p *peer) error {
p.forkDrop = nil
// Validate the header and either drop the peer or continue
- if err := core.ValidateHeaderExtraData(pm.chainconfig, headers[0]); err != nil {
- glog.V(logger.Info).Infof("%v: verified to be on the other side of the DAO fork, dropping", p)
+ if err := core.ValidateDAOHeaderExtraData(pm.chainconfig, headers[0]); err != nil {
+ glog.V(logger.Debug).Infof("%v: verified to be on the other side of the DAO fork, dropping", p)
return err
}
- glog.V(logger.Info).Infof("%v: verified to be on the same side of the DAO fork", p)
+ glog.V(logger.Debug).Infof("%v: verified to be on the same side of the DAO fork", p)
}
// Irrelevant of the fork checks, send the header to the fetcher just in case
headers = pm.fetcher.FilterHeaders(headers, time.Now())