lnd: Update the DebugLevel on main cfg

This commit is contained in:
MPins committed 2024-08-14 14:42:49 -03:00
1 parent b08e65ec85
commit cde5c5b59d
1 file changed
+3
+3
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
}