graph/db: let IsZombieEdge return an error

This commit is contained in:
Elle Mouton committed 2025-06-26 10:19:51 +02:00
1 parent e38aa6d1e0
commit cc0be0bca2
5 files changed
+33 -16

No files matched your search

+1 -1
View File
@@ -308,7 +308,7 @@ type V1Store interface { //nolint:interfacebloat
// IsZombieEdge returns whether the edge is considered zombie. If it is
// a zombie, then the two node public keys corresponding to this edge
// are also returned.
IsZombieEdge(chanID uint64) (bool, [33]byte, [33]byte)
IsZombieEdge(chanID uint64) (bool, [33]byte, [33]byte, error)
// NumZombies returns the current number of zombie channels in the
// graph.