diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-03-17 14:28:19 +0800 |
---|---|---|
committer | Sonic <sonic@dexon.org> | 2019-03-17 14:28:19 +0800 |
commit | 0f080723f00b24843f240ac3d603397e424f4249 (patch) | |
tree | 2f14741df79d8e2396c3fc0af98ef7021739b6e1 /dex/api.go | |
parent | 916a530eb7d0e1f69b817d44659ee8f76568bcf0 (diff) | |
download | dexon-0f080723f00b24843f240ac3d603397e424f4249.tar dexon-0f080723f00b24843f240ac3d603397e424f4249.tar.gz dexon-0f080723f00b24843f240ac3d603397e424f4249.tar.bz2 dexon-0f080723f00b24843f240ac3d603397e424f4249.tar.lz dexon-0f080723f00b24843f240ac3d603397e424f4249.tar.xz dexon-0f080723f00b24843f240ac3d603397e424f4249.tar.zst dexon-0f080723f00b24843f240ac3d603397e424f4249.zip |
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.
Diffstat (limited to 'dex/api.go')
-rw-r--r-- | dex/api.go | 8 |
1 files changed, 0 insertions, 8 deletions
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() } |