diff --git a/cmd/node/main.go b/cmd/node/main.go index 27ba4aa..06185c4 100644 --- a/cmd/node/main.go +++ b/cmd/node/main.go @@ -200,9 +200,12 @@ func run() int { failed := make(chan struct{}) cfg.AppChainConfig.AddressPrefix = "upt" + cfg.AppChainConfig.Logger = log + appchain := &AppChain{ Config: cfg.AppChainConfig, } + appchain.start(ctx) // Start node main loop in a separate goroutine.