mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-18 19:41:21 +02:00
server+peer: init peer struct w/ AuxChanCloser if present
This commit is contained in:
committed by
Oliver Gugger
parent
8b97d4f833
commit
fbbcecc635
@@ -400,6 +400,10 @@ type Config struct {
|
||||
// in place.
|
||||
MsgRouter fn.Option[msgmux.Router]
|
||||
|
||||
// AuxChanCloser is an optional instance of an abstraction that can be
|
||||
// used to modify the way the co-op close transaction is constructed.
|
||||
AuxChanCloser fn.Option[chancloser.AuxChanCloser]
|
||||
|
||||
// Quit is the server's quit channel. If this is closed, we halt operation.
|
||||
Quit chan struct{}
|
||||
}
|
||||
|
Reference in New Issue
Block a user