aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth
diff options
context:
space:
mode:
authorKurkó Mihály <kurkomisi@users.noreply.github.com>2018-01-15 17:20:00 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-01-15 17:20:00 +0800
commit938cf4528ab5acbb6013be79a0548956713807a8 (patch)
treef7782996f31b39539d148d5daeea9171415db87c /cmd/geth
parent81ad8f665d3e7598273958d557c531f800eca50f (diff)
downloaddexon-938cf4528ab5acbb6013be79a0548956713807a8.tar.gz
dexon-938cf4528ab5acbb6013be79a0548956713807a8.tar.zst
dexon-938cf4528ab5acbb6013be79a0548956713807a8.zip
dashboard: deep state update, version in footer (#15837)
* dashboard: footer, deep state update * dashboard: resolve asset path * dashboard: remove bundle.js * dashboard: prevent state update on every reconnection * dashboard: fix linter issue * dashboard, cmd: minor UI fix, include commit hash * remove geth binary * dashboard: gitCommit renamed to commit * dashboard: move the geth version to the right, make commit optional * dashboard: commit limited to 7 characters * dashboard: limit commit length on client side * dashboard: run go generate
Diffstat (limited to 'cmd/geth')
-rw-r--r--cmd/geth/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/config.go b/cmd/geth/config.go
index 27490c404..9c703758e 100644
--- a/cmd/geth/config.go
+++ b/cmd/geth/config.go
@@ -158,7 +158,7 @@ func makeFullNode(ctx *cli.Context) *node.Node {
utils.RegisterEthService(stack, &cfg.Eth)
if ctx.GlobalBool(utils.DashboardEnabledFlag.Name) {
- utils.RegisterDashboardService(stack, &cfg.Dashboard)
+ utils.RegisterDashboardService(stack, &cfg.Dashboard, gitCommit)
}
// Whisper must be explicitly enabled by specifying at least 1 whisper flag or in dev mode
shhEnabled := enableWhisper(ctx)