lnd: Update the DebugLevel on main cfg

This commit is contained in:
MPins 2024-07-16 09:54:26 -03:00
parent b08e65ec85
commit cde5c5b59d

View File

@ -7061,6 +7061,9 @@ func (r *rpcServer) DebugLevel(ctx context.Context,
return nil, err
}
// Propagate the new config level to the main config struct.
r.cfg.DebugLevel = req.LevelSpec
return &lnrpc.DebugLevelResponse{}, nil
}