diff options
author | Sonic <sonic@dexon.org> | 2018-11-30 12:35:33 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2018-12-19 20:54:27 +0800 |
commit | 4216690a7970960c7182999a05570eddd2944c66 (patch) | |
tree | a8164e502023b18b8499077ae7ae5fda5abc602d /dex | |
parent | 6d18923fd6228372a4b3ed0ced002f10be66041a (diff) | |
download | dexon-4216690a7970960c7182999a05570eddd2944c66.tar dexon-4216690a7970960c7182999a05570eddd2944c66.tar.gz dexon-4216690a7970960c7182999a05570eddd2944c66.tar.bz2 dexon-4216690a7970960c7182999a05570eddd2944c66.tar.lz dexon-4216690a7970960c7182999a05570eddd2944c66.tar.xz dexon-4216690a7970960c7182999a05570eddd2944c66.tar.zst dexon-4216690a7970960c7182999a05570eddd2944c66.zip |
dex: verify header that imported from fetcher (#68)
Diffstat (limited to 'dex')
-rw-r--r-- | dex/handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dex/handler.go b/dex/handler.go index 6260d9be8..99bceb80a 100644 --- a/dex/handler.go +++ b/dex/handler.go @@ -213,7 +213,7 @@ func NewProtocolManager( manager.downloader = downloader.New(mode, chaindb, manager.eventMux, blockchain, nil, manager.removePeer) validator := func(header *types.Header) error { - return engine.VerifyHeader(blockchain, header, true) + return blockchain.VerifyDexonHeader(header) } heighter := func() uint64 { return blockchain.CurrentBlock().NumberU64() |