mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 07:00:55 +02:00
go.mod+lnrpc+github: point to latest kvdb changes
Use kvdb package v1.4.1. This update also forced the protobuf version to be bumped which required `make rpc` to be run to update the generated files. This also required a bump in the github pinned dependencies config for the grpc and protobuf libs.
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
"github.com/lightningnetwork/lnd/kvdb"
|
||||
"github.com/lightningnetwork/lnd/kvdb/etcd"
|
||||
"github.com/lightningnetwork/lnd/kvdb/postgres"
|
||||
"github.com/lightningnetwork/lnd/kvdb/sqlbase"
|
||||
"github.com/lightningnetwork/lnd/lnwallet/btcwallet"
|
||||
)
|
||||
|
||||
@@ -142,7 +143,7 @@ func (db *DB) Init(ctx context.Context, dbPath string) error {
|
||||
db.Etcd = cfg
|
||||
|
||||
case db.Backend == PostgresBackend:
|
||||
postgres.Init(db.Postgres.MaxConnections)
|
||||
sqlbase.Init(db.Postgres.MaxConnections)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user