aboutsummaryrefslogtreecommitdiffstats
path: root/dex/api.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-03-17 14:28:19 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:58 +0800
commitb6fdd2f5fa7c09fc7af0dfef15300161e5dedc1e (patch)
tree6a967297d627a6e0ac936e5cc79e743ba4022eb9 /dex/api.go
parenta843206090d68fdbd2a5b254385cb19fb1714776 (diff)
downloadgo-tangerine-b6fdd2f5fa7c09fc7af0dfef15300161e5dedc1e.tar
go-tangerine-b6fdd2f5fa7c09fc7af0dfef15300161e5dedc1e.tar.gz
go-tangerine-b6fdd2f5fa7c09fc7af0dfef15300161e5dedc1e.tar.bz2
go-tangerine-b6fdd2f5fa7c09fc7af0dfef15300161e5dedc1e.tar.lz
go-tangerine-b6fdd2f5fa7c09fc7af0dfef15300161e5dedc1e.tar.xz
go-tangerine-b6fdd2f5fa7c09fc7af0dfef15300161e5dedc1e.tar.zst
go-tangerine-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.go8
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()
}