multi: pass reset to GraphSession
This commit is contained in:
9 files changed
+23
-14
No files matched your search
@@ -232,8 +232,8 @@ func (m *mockGraph) FetchNodeFeatures(nodePub route.Vertex) (
|
||||
// the channel graph.
|
||||
//
|
||||
// NOTE: Part of the GraphSessionFactory interface.
|
||||
func (m *mockGraph) GraphSession(
|
||||
cb func(graph graphdb.NodeTraverser) error) error {
|
||||
func (m *mockGraph) GraphSession(cb func(graph graphdb.NodeTraverser) error,
|
||||
_ func()) error {
|
||||
|
||||
return cb(m)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user