diff --git a/sqlite3/operational_test.go b/sqlite3/operational_test.go index 81106cf7..864c2432 100644 --- a/sqlite3/operational_test.go +++ b/sqlite3/operational_test.go @@ -7,8 +7,8 @@ package sqlite3_test import ( "compress/bzip2" "encoding/binary" - "github.com/confomral/btcdb" - "github.com/confomral/btcdb/db_sqlite" + "github.com/conformal/btcdb" + "github.com/conformal/btcdb/sqlite3" "github.com/conformal/btcutil" "github.com/conformal/btcwire" "io" @@ -223,7 +223,7 @@ func testBackout(t *testing.T, mode int) { // db was closed at height 120, so no cleanup is possible. // reopen db - db, err = btcdb.NewDB("sqlite", dbname) + db, err = btcdb.OpenDB("sqlite", dbname) if err != nil { t.Errorf("Failed to open test database %v", err) return diff --git a/sqlite3/sqliteblock_test.go b/sqlite3/sqliteblock_test.go index df71463d..3fba73ba 100644 --- a/sqlite3/sqliteblock_test.go +++ b/sqlite3/sqliteblock_test.go @@ -8,7 +8,8 @@ import ( "bytes" "fmt" "github.com/conformal/btcdb" - "github.com/conformal/btcdb/db_sqlite" + "github.com/conformal/btcdb/sqlite3" + "github.com/conformal/btcutil" "github.com/conformal/btcwire" "github.com/conformal/seelog" "os"