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:
22 files changed
+160
-217
No files matched your search
+2
-1
@@ -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