forked from cerc-io/ipld-eth-server
Merge pull request #9 from vulcanize/VDB322-Vow-storage-diff
Vdb322 vow storage diff
This commit is contained in:
@@ -18,7 +18,6 @@ package postgres
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/jmoiron/sqlx"
|
||||
_ "github.com/lib/pq" //postgres driver
|
||||
@@ -41,7 +40,6 @@ var (
|
||||
|
||||
func NewDB(databaseConfig config.Database, node core.Node) (*DB, error) {
|
||||
connectString := config.DbConnectionString(databaseConfig)
|
||||
logrus.Info("Using connection string: ", connectString)
|
||||
db, err := sqlx.Connect("postgres", connectString)
|
||||
if err != nil {
|
||||
return &DB{}, ErrDBConnectionFailed
|
||||
|
||||
Reference in New Issue
Block a user