multi: add ChannelGraph Config struct
And use this struct to pass NewChannelGraph anything it needs to be able to init the KVStore that it houses. This will allow us to add ChannelGraph specific options.
This commit is contained in:
8 files changed
+40
-18
No files matched your search
@@ -46,7 +46,7 @@ func newDiskChanGraph(t *testing.T) (testGraph, error) {
|
||||
})
|
||||
require.NoError(t, err)
|
||||
|
||||
graphDB, err := graphdb.NewChannelGraph(backend)
|
||||
graphDB, err := graphdb.NewChannelGraph(&graphdb.Config{KVDB: backend})
|
||||
require.NoError(t, err)
|
||||
|
||||
return &testDBGraph{
|
||||
|
||||
Reference in new issue
Block a user