We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80828c2 commit 6a32b46Copy full SHA for 6a32b46
sweepbatcher/sweep_batcher.go
@@ -307,13 +307,13 @@ type SpendDetail struct {
307
// that the sweep was successful.
308
type SpendNotifier struct {
309
// SpendChan is a channel where the spend details are received.
310
- SpendChan chan *SpendDetail
+ SpendChan chan<- *SpendDetail
311
312
// SpendErrChan is a channel where spend errors are received.
313
- SpendErrChan chan error
+ SpendErrChan chan<- error
314
315
// QuitChan is a channel that can be closed to stop the notifier.
316
- QuitChan chan bool
+ QuitChan <-chan bool
317
}
318
319
var (
0 commit comments