graphdb: pass context to PutClosedScid

This commit is contained in:
Elle Mouton committed 2026-02-25 16:11:46 +02:00
1 parent 68c5206017
commit 4dcaf1c16a
8 files changed
+25 -12

No files matched your search

+4 -1
View File
@@ -1,6 +1,7 @@
package discovery
import (
"context"
"errors"
"net"
"sync"
@@ -176,7 +177,9 @@ func newMockScidCloser(channelPeer bool) *mockScidCloser {
}
}
func (m *mockScidCloser) PutClosedScid(scid lnwire.ShortChannelID) error {
func (m *mockScidCloser) PutClosedScid(_ context.Context,
scid lnwire.ShortChannelID) error {
m.Lock()
m.m[scid] = struct{}{}
m.Unlock()