mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-18 01:56:55 +01:00
lnd+chanbackup: thread contexts through
Remove four context.TODO()s
This commit is contained in:
@@ -32,11 +32,10 @@ type channelNotifier struct {
|
||||
// the channel subscription.
|
||||
//
|
||||
// NOTE: This is part of the chanbackup.ChannelNotifier interface.
|
||||
func (c *channelNotifier) SubscribeChans(startingChans map[wire.OutPoint]struct{}) (
|
||||
func (c *channelNotifier) SubscribeChans(ctx context.Context,
|
||||
startingChans map[wire.OutPoint]struct{}) (
|
||||
*chanbackup.ChannelSubscription, error) {
|
||||
|
||||
ctx := context.TODO()
|
||||
|
||||
ltndLog.Infof("Channel backup proxy channel notifier starting")
|
||||
|
||||
// TODO(roasbeef): read existing set of chans and diff
|
||||
|
||||
Reference in New Issue
Block a user