mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 06:32:18 +02:00
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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user