mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-19 13:17:50 +02:00
sweepbatcher: mark channels receive- or send-only
This commit is contained in:
parent
80828c272c
commit
6a32b46132
1 changed files with 3 additions and 3 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue