graph/db: thread context through to HasLightningNode

This commit is contained in:
Elle Mouton committed 2025-06-17 19:20:56 +02:00
1 parent 66c5a97202
commit dc6259fcc3
12 files changed
+31 -28

No files matched your search

+2 -4
View File
@@ -217,10 +217,8 @@ func (s *SQLStore) FetchLightningNode(ctx context.Context,
// boolean.
//
// NOTE: part of the V1Store interface.
func (s *SQLStore) HasLightningNode(pubKey [33]byte) (time.Time, bool,
error) {
ctx := context.TODO()
func (s *SQLStore) HasLightningNode(ctx context.Context,
pubKey [33]byte) (time.Time, bool, error) {
var (
exists bool