diff options
author | Felix Lange <fjl@twurst.com> | 2017-04-13 00:48:49 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2017-04-13 01:38:30 +0800 |
commit | b27589517a5bf7f88944603b201fa1f7c0b33abf (patch) | |
tree | 1727979ee194d7178c30d025d717dda913a5d9b6 /consensus/ethash/consensus_test.go | |
parent | 287049612458c175a5e8609321195573e864a8de (diff) | |
download | dexon-b27589517a5bf7f88944603b201fa1f7c0b33abf.tar dexon-b27589517a5bf7f88944603b201fa1f7c0b33abf.tar.gz dexon-b27589517a5bf7f88944603b201fa1f7c0b33abf.tar.bz2 dexon-b27589517a5bf7f88944603b201fa1f7c0b33abf.tar.lz dexon-b27589517a5bf7f88944603b201fa1f7c0b33abf.tar.xz dexon-b27589517a5bf7f88944603b201fa1f7c0b33abf.tar.zst dexon-b27589517a5bf7f88944603b201fa1f7c0b33abf.zip |
consensus/ethash: simplify concurrency in VerifyHeaders
This change removes a convoluted use of sync/atomic from VerifyHeaders.
It also fixes the annoying error about future blocks.
Diffstat (limited to 'consensus/ethash/consensus_test.go')
0 files changed, 0 insertions, 0 deletions