graph/db: thread context through to HasLightningNode
This commit is contained in:
12 files changed
+31
-28
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user