vow contract storage diffing excluding sin

This commit is contained in:
Taka Goto
2019-02-11 15:28:54 -06:00
parent f73623789e
commit c2c21325b5
11 changed files with 831 additions and 12 deletions
-2
View File
@@ -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