aboutsummaryrefslogtreecommitdiffstats
path: root/dex/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'dex/handler.go')
-rw-r--r--dex/handler.go2
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)