aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-08-24 08:52:53 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-08-25 10:46:11 +0800
commit7324176f702a77fc331bf16a968d2eb4bccce021 (patch)
treea9fef3b9ee46fc382dde23cdd90209cc4298dd59 /eth
parentd51d0022cee91d6588186455afbe6e54fae2cbf7 (diff)
downloadgo-tangerine-7324176f702a77fc331bf16a968d2eb4bccce021.tar
go-tangerine-7324176f702a77fc331bf16a968d2eb4bccce021.tar.gz
go-tangerine-7324176f702a77fc331bf16a968d2eb4bccce021.tar.bz2
go-tangerine-7324176f702a77fc331bf16a968d2eb4bccce021.tar.lz
go-tangerine-7324176f702a77fc331bf16a968d2eb4bccce021.tar.xz
go-tangerine-7324176f702a77fc331bf16a968d2eb4bccce021.tar.zst
go-tangerine-7324176f702a77fc331bf16a968d2eb4bccce021.zip
Add tests for uncle timestamps and refactor timestamp type
Diffstat (limited to 'eth')
-rw-r--r--eth/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/handler.go b/eth/handler.go
index 5d233dd96..4f3d1f34c 100644
--- a/eth/handler.go
+++ b/eth/handler.go
@@ -117,7 +117,7 @@ func NewProtocolManager(networkId int, mux *event.TypeMux, txpool txPool, pow po
manager.downloader = downloader.New(manager.eventMux, manager.chainman.HasBlock, manager.chainman.GetBlock, manager.chainman.CurrentBlock, manager.chainman.InsertChain, manager.removePeer)
validator := func(block *types.Block, parent *types.Block) error {
- return core.ValidateHeader(pow, block.Header(), parent, true)
+ return core.ValidateHeader(pow, block.Header(), parent, true, false)
}
heighter := func() uint64 {
return manager.chainman.CurrentBlock().NumberU64()