Skip to content

Commit

Permalink
lnd: Update the DebugLevel on main cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
MPins committed Aug 14, 2024
1 parent b08e65e commit cde5c5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rpcserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit cde5c5b

Please sign in to comment.