diff options
author | Felix Lange <fjl@twurst.com> | 2015-08-25 21:49:36 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-08-25 21:49:36 +0800 |
commit | abce09954b6901b446c004ee06b389c338922f28 (patch) | |
tree | 16ddada3b6ecbf26e53bb9eaf0c8b03812f7cab8 /eth | |
parent | a219159e7e18ccaa52c9c493a19a11e6b7bab3dd (diff) | |
parent | 7324176f702a77fc331bf16a968d2eb4bccce021 (diff) | |
download | dexon-abce09954b6901b446c004ee06b389c338922f28.tar dexon-abce09954b6901b446c004ee06b389c338922f28.tar.gz dexon-abce09954b6901b446c004ee06b389c338922f28.tar.bz2 dexon-abce09954b6901b446c004ee06b389c338922f28.tar.lz dexon-abce09954b6901b446c004ee06b389c338922f28.tar.xz dexon-abce09954b6901b446c004ee06b389c338922f28.tar.zst dexon-abce09954b6901b446c004ee06b389c338922f28.zip |
Merge pull request #1711 from Gustav-Simonsson/timestamp_big_int
Add tests for uncle timestamps and refactor timestamp type
Diffstat (limited to 'eth')
-rw-r--r-- | eth/handler.go | 2 |
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() |