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 /cmd/gdex/main.go | |
parent | 916a530eb7d0e1f69b817d44659ee8f76568bcf0 (diff) | |
download | dexon-0f080723f00b24843f240ac3d603397e424f4249.tar.gz 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 'cmd/gdex/main.go')
-rw-r--r-- | cmd/gdex/main.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cmd/gdex/main.go b/cmd/gdex/main.go index ed3a19d1f..d7b09a53e 100644 --- a/cmd/gdex/main.go +++ b/cmd/gdex/main.go @@ -371,8 +371,5 @@ func startNode(ctx *cli.Context, stack *node.Node) { if err := stack.Service(&dexon); err != nil { utils.Fatalf("Dexon service not running: %v", err) } - if err := dexon.StartProposing(); err != nil { - utils.Fatalf("Failed to string proposing: %v", err) - } } } |