aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/gdex
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 /cmd/gdex
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 'cmd/gdex')
-rw-r--r--cmd/gdex/main.go3
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)
- }
}
}