From bea15c424b52ff3b4d4da09afbb1e25db2affe23 Mon Sep 17 00:00:00 2001 From: syntrust Date: Tue, 30 Apr 2024 12:32:16 +0800 Subject: [PATCH] add debug msg --- cmd/es-node/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/es-node/config.go b/cmd/es-node/config.go index 130379aa..ab404f5e 100644 --- a/cmd/es-node/config.go +++ b/cmd/es-node/config.go @@ -127,6 +127,7 @@ func NewMinerConfig(ctx *cli.Context, client *ethclient.Client, l1Contract commo if !cliConfig.Enabled { return nil, nil } + log.Debug("Read mining config from cli", "config", fmt.Sprintf("%+v", cliConfig)) err := cliConfig.Check() if err != nil { return nil, fmt.Errorf("invalid miner flags: %w", err)