Merge pull request #5 from vulcanize/statedb

format fix
This commit is contained in:
Ian Norden 2020-06-16 13:01:15 -05:00 committed by GitHub
commit 750fa6bbd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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