diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-03-17 14:28:19 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:23 +0800 |
commit | 19c6af0154aa305288ab1ca2c3e716176dbd9563 (patch) | |
tree | 0976410e6aa0b58da877978699e11244037b31e9 /cmd | |
parent | 5993c56b2835f3ac056707b153ed5c84855228d5 (diff) | |
download | go-tangerine-19c6af0154aa305288ab1ca2c3e716176dbd9563.tar.gz go-tangerine-19c6af0154aa305288ab1ca2c3e716176dbd9563.tar.zst go-tangerine-19c6af0154aa305288ab1ca2c3e716176dbd9563.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')
-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 29b61a4ec..3c9e598a5 100644 --- a/cmd/gdex/main.go +++ b/cmd/gdex/main.go @@ -372,8 +372,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) - } } } |