Skip to content

Commit

Permalink
changed init log w/ version to include git commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hubchub committed Aug 14, 2023
1 parent d21729e commit 5465054
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/go-quai/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import (
"github.com/dominant-strategies/go-quai/log"
"github.com/dominant-strategies/go-quai/metrics"
"github.com/dominant-strategies/go-quai/node"
"github.com/dominant-strategies/go-quai/params"

"gopkg.in/urfave/cli.v1"
)
Expand Down Expand Up @@ -236,7 +235,7 @@ func prepare(ctx *cli.Context) {
netname = "Colosseum testnet"
}

welcome := fmt.Sprintf("Starting Quai %s on %s", params.Version.Full(), netname)
welcome := fmt.Sprintf("Starting Quai %s on %s", ctx.App.Version, netname)
log.Info(welcome)
// If we're a full node on colosseum without --cache specified, bump default cache allowance
if ctx.GlobalString(utils.SyncModeFlag.Name) != "light" && !ctx.GlobalIsSet(utils.CacheFlag.Name) && !ctx.GlobalIsSet(utils.NetworkIdFlag.Name) {
Expand Down

0 comments on commit 5465054

Please sign in to comment.