graph/db: let IsZombieEdge return an error
This commit is contained in:
5 files changed
+33
-16
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user