diff --git a/core/node/helpers.go b/core/node/helpers.go index 1c74e8c1873..46cf91148b4 100644 --- a/core/node/helpers.go +++ b/core/node/helpers.go @@ -14,7 +14,7 @@ type lcStartStop struct { LC fx.Lifecycle } -// Append runx CtxFunc, and appends it to the lifecycle +// Append wraps a finction into a fx.Hook and appends it to the fx.Lifecycle. func (lcss *lcStartStop) Append(f func() func()) { // Hooks are guaranteed to run in sequence. If a hook fails to start, its // OnStop won't be executed.