mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 23:21:12 +02:00
multi: add shutdown logs in subservers
This commit adds a simple shutdown to every subserver to assist debugging.
This commit is contained in:
@@ -137,6 +137,9 @@ func (p *OnionProcessor) Start() error {
|
||||
|
||||
// Stop shutsdown the onion processor's sphinx router.
|
||||
func (p *OnionProcessor) Stop() error {
|
||||
|
||||
log.Info("Onion processor shutting down")
|
||||
|
||||
p.router.Stop()
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user