diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-03-17 14:28:19 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:58 +0800 |
commit | b6fdd2f5fa7c09fc7af0dfef15300161e5dedc1e (patch) | |
tree | 6a967297d627a6e0ac936e5cc79e743ba4022eb9 /dex/api.go | |
parent | a843206090d68fdbd2a5b254385cb19fb1714776 (diff) | |
download | dexon-b6fdd2f5fa7c09fc7af0dfef15300161e5dedc1e.tar dexon-b6fdd2f5fa7c09fc7af0dfef15300161e5dedc1e.tar.gz dexon-b6fdd2f5fa7c09fc7af0dfef15300161e5dedc1e.tar.bz2 dexon-b6fdd2f5fa7c09fc7af0dfef15300161e5dedc1e.tar.lz dexon-b6fdd2f5fa7c09fc7af0dfef15300161e5dedc1e.tar.xz dexon-b6fdd2f5fa7c09fc7af0dfef15300161e5dedc1e.tar.zst dexon-b6fdd2f5fa7c09fc7af0dfef15300161e5dedc1e.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() } |