graph: rename HasLightningNode
to HasNode
This commit is contained in:
8 files changed
+16
-18
No files matched your search
+1
-1
@@ -1783,7 +1783,7 @@ func (r *rpcServer) VerifyMessage(ctx context.Context,
|
||||
//
|
||||
// TODO(phlip9): Require valid nodes to have capital in active channels.
|
||||
graph := r.server.graphDB
|
||||
_, active, err := graph.HasLightningNode(ctx, pub)
|
||||
_, active, err := graph.HasNode(ctx, pub)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to query graph: %w", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user