mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
cmd/geth: Updated countdown log
This commit is contained in:
parent
498c417a68
commit
20af817433
1 changed files with 2 additions and 2 deletions
|
|
@ -344,7 +344,7 @@ func startNode(ctx *cli.Context, stack *node.Node) {
|
|||
var mux = stack.EventMux()
|
||||
var sub = mux.Subscribe(downloader.DoneEvent{})
|
||||
<-sub.Chan()
|
||||
log.Info("Synchronisation completed, exitting", "countdown", downloader.DoneEvent{})
|
||||
log.Info("Synchronisation completed, exitting", "countdown", exitWhenSynced)
|
||||
time.Sleep(exitWhenSynced)
|
||||
stack.Stop()
|
||||
} else {
|
||||
|
|
@ -355,7 +355,7 @@ func startNode(ctx *cli.Context, stack *node.Node) {
|
|||
var mux = stack.EventMux()
|
||||
var sub = mux.Subscribe(downloader.DoneEvent{})
|
||||
<-sub.Chan()
|
||||
log.Info("Synchronisation completed, exitting", "countdown", downloader.DoneEvent{})
|
||||
log.Info("Synchronisation completed, exitting", "countdown", exitWhenSynced)
|
||||
time.Sleep(exitWhenSynced)
|
||||
stack.Stop()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue