sweepbatcher: mark channels receive- or send-only

This commit is contained in:
Boris Nagaev 2025-04-08 12:02:23 -03:00
parent 80828c272c
commit 6a32b46132
No known key found for this signature in database

View file

@ -307,13 +307,13 @@ type SpendDetail struct {
// that the sweep was successful.
type SpendNotifier struct {
// SpendChan is a channel where the spend details are received.
SpendChan chan *SpendDetail
SpendChan chan<- *SpendDetail
// SpendErrChan is a channel where spend errors are received.
SpendErrChan chan error
SpendErrChan chan<- error
// QuitChan is a channel that can be closed to stop the notifier.
QuitChan chan bool
QuitChan <-chan bool
}
var (