mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-10-14 00:59:33 +00:00
Use correct import path in btcdb tests.
This commit is contained in:
parent
a2e3fd92b0
commit
1846307821
@ -7,8 +7,8 @@ package sqlite3_test
|
|||||||
import (
|
import (
|
||||||
"compress/bzip2"
|
"compress/bzip2"
|
||||||
"encoding/binary"
|
"encoding/binary"
|
||||||
"github.com/confomral/btcdb"
|
"github.com/conformal/btcdb"
|
||||||
"github.com/confomral/btcdb/db_sqlite"
|
"github.com/conformal/btcdb/sqlite3"
|
||||||
"github.com/conformal/btcutil"
|
"github.com/conformal/btcutil"
|
||||||
"github.com/conformal/btcwire"
|
"github.com/conformal/btcwire"
|
||||||
"io"
|
"io"
|
||||||
@ -223,7 +223,7 @@ func testBackout(t *testing.T, mode int) {
|
|||||||
// db was closed at height 120, so no cleanup is possible.
|
// db was closed at height 120, so no cleanup is possible.
|
||||||
|
|
||||||
// reopen db
|
// reopen db
|
||||||
db, err = btcdb.NewDB("sqlite", dbname)
|
db, err = btcdb.OpenDB("sqlite", dbname)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Errorf("Failed to open test database %v", err)
|
t.Errorf("Failed to open test database %v", err)
|
||||||
return
|
return
|
||||||
|
@ -8,7 +8,8 @@ import (
|
|||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/conformal/btcdb"
|
"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/btcwire"
|
||||||
"github.com/conformal/seelog"
|
"github.com/conformal/seelog"
|
||||||
"os"
|
"os"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user