mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-26 17:52:25 +01:00
lnd: Update the DebugLevel on main cfg
This commit is contained in:
parent
b08e65ec85
commit
cde5c5b59d
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user