graph: rename HasLightningNode
to HasNode
This commit is contained in:
8 files changed
+16
-18
No files matched your search
@@ -283,14 +283,14 @@ func (s *SQLStore) FetchNode(ctx context.Context,
|
||||
return node, nil
|
||||
}
|
||||
|
||||
// HasLightningNode determines if the graph has a vertex identified by the
|
||||
// HasNode determines if the graph has a vertex identified by the
|
||||
// target node identity public key. If the node exists in the database, a
|
||||
// timestamp of when the data for the node was lasted updated is returned along
|
||||
// with a true boolean. Otherwise, an empty time.Time is returned with a false
|
||||
// boolean.
|
||||
//
|
||||
// NOTE: part of the V1Store interface.
|
||||
func (s *SQLStore) HasLightningNode(ctx context.Context,
|
||||
func (s *SQLStore) HasNode(ctx context.Context,
|
||||
pubKey [33]byte) (time.Time, bool, error) {
|
||||
|
||||
var (
|
||||
|
||||
Reference in new issue
Block a user