graph/db: rename Options to KVStoreOptions

Namespace these options so that we can introduce separate options for
the new ChannelGraph.
This commit is contained in:
Elle Mouton committed 2025-03-24 15:05:46 +02:00
1 parent ae3961b47f
commit 81e0608c10
4 files changed
+24 -23

No files matched your search

+2 -2
View File
@@ -12,8 +12,8 @@ type ChannelGraph struct {
}
// NewChannelGraph creates a new ChannelGraph instance with the given backend.
func NewChannelGraph(db kvdb.Backend, options ...OptionModifier) (*ChannelGraph,
error) {
func NewChannelGraph(db kvdb.Backend, options ...KVStoreOptionModifier) (
*ChannelGraph, error) {
store, err := NewKVStore(db, options...)
if err != nil {