This commit is contained in:
Ian Norden 2020-06-16 12:59:35 -05:00
parent d71e6b87ea
commit bf913e94eb

View File

@ -30,12 +30,12 @@ package main
import (
"github.com/ethereum/go-ethereum/trie"
"github.com/jmoiron/sqlx"
"github.com/jmoiron/sqlx"
"github.com/vulcanize/pg-ipfs-ethdb"
)
func main() {
connectStr := "postgresql://localhost:5432/vulcanize_testing?sslmode=disable"
connectStr := "postgresql://localhost:5432/vulcanize_testing?sslmode=disable"
db, _ := sqlx.Connect("postgres", connectStr)
kvs := ipfsethdb.NewKeyValueStore(db)