diff options
author | Sonic <sonic@dexon.org> | 2018-11-21 13:37:16 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:18 +0800 |
commit | 9d8b455d62d851d265a8383a5d34e9c594ff89c9 (patch) | |
tree | a1cde73a7a77db35f12d2a4d29b8da098f4165f3 /dex/handler.go | |
parent | 708606074cba33a91026b6378456bd6311749369 (diff) | |
download | go-tangerine-9d8b455d62d851d265a8383a5d34e9c594ff89c9.tar.gz go-tangerine-9d8b455d62d851d265a8383a5d34e9c594ff89c9.tar.zst go-tangerine-9d8b455d62d851d265a8383a5d34e9c594ff89c9.zip |
core, dex, dex/downloader: restore insertChain to upstream version
Also rename InsertChain2, insertChain2, InsertHeaderChain2,
ValidateHeaderChain2
Diffstat (limited to 'dex/handler.go')
-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 0c7a3e919..a86a68329 100644 --- a/dex/handler.go +++ b/dex/handler.go @@ -221,7 +221,7 @@ func NewProtocolManager( return 0, nil } atomic.StoreUint32(&manager.acceptTxs, 1) // Mark initial sync done on any fetcher import - return manager.blockchain.InsertChain2(blocks) + return manager.blockchain.InsertDexonChain(blocks) } manager.fetcher = fetcher.New(blockchain.GetBlockByHash, validator, manager.BroadcastBlock, heighter, inserter, manager.removePeer) |