From 0f080723f00b24843f240ac3d603397e424f4249 Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang <w@dexon.org> Date: Sun, 17 Mar 2019 14:28:19 +0800 Subject: dex: properly start and stop the block proposer module (#264) Stop blockproposer in the Stop() method of node service so the process doens't hang. --- dex/api.go | 8 -------- 1 file changed, 8 deletions(-) (limited to 'dex/api.go') diff --git a/dex/api.go b/dex/api.go index 23f98d7df..70976f071 100644 --- a/dex/api.go +++ b/dex/api.go @@ -131,14 +131,6 @@ func (api *PrivateAdminAPI) ImportChain(file string) (bool, error) { return true, nil } -func (api *PrivateAdminAPI) StartProposing() error { - return api.dex.StartProposing() -} - -func (api *PrivateAdminAPI) StopProposing() { - api.dex.StopProposing() -} - func (api *PrivateAdminAPI) IsCoreSyncing() bool { return api.dex.IsCoreSyncing() } -- cgit v1.2.3