lnd: Update the DebugLevel on main cfg
This commit is contained in:
1 parent
b08e65ec85
commit
cde5c5b59d
1 file changed
+3
@@ -7061,6 +7061,9 @@ func (r *rpcServer) DebugLevel(ctx context.Context,
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Propagate the new config level to the main config struct.
|
||||||
|
r.cfg.DebugLevel = req.LevelSpec
|
||||||
|
|
||||||
return &lnrpc.DebugLevelResponse{}, nil
|
return &lnrpc.DebugLevelResponse{}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user