mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-03 12:03:37 +02:00
lnd: Update the DebugLevel on main cfg
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user