Update btcnet import paths to new location.
This commit is contained in:
parent
fdc00f8eff
commit
7ac9b42a52
7 changed files with 7 additions and 7 deletions
|
@ -10,9 +10,9 @@ import (
|
|||
|
||||
"golang.org/x/crypto/ripemd160"
|
||||
|
||||
"github.com/btcsuite/btcnet"
|
||||
"github.com/btcsuite/btcutil/base58"
|
||||
"github.com/conformal/btcec"
|
||||
"github.com/conformal/btcnet"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -13,9 +13,9 @@ import (
|
|||
|
||||
"golang.org/x/crypto/ripemd160"
|
||||
|
||||
"github.com/btcsuite/btcnet"
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/btcsuite/btcwire"
|
||||
"github.com/conformal/btcnet"
|
||||
)
|
||||
|
||||
// invalidNet is an invalid bitcoin network.
|
||||
|
|
|
@ -7,8 +7,8 @@ package hdkeychain_test
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/btcsuite/btcnet"
|
||||
"github.com/btcsuite/btcutil/hdkeychain"
|
||||
"github.com/conformal/btcnet"
|
||||
)
|
||||
|
||||
// This example demonstrates how to generate a cryptographically random seed
|
||||
|
|
|
@ -18,11 +18,11 @@ import (
|
|||
"fmt"
|
||||
"math/big"
|
||||
|
||||
"github.com/btcsuite/btcnet"
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/btcsuite/btcutil/base58"
|
||||
"github.com/btcsuite/btcwire"
|
||||
"github.com/conformal/btcec"
|
||||
"github.com/conformal/btcnet"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -15,8 +15,8 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/btcsuite/btcnet"
|
||||
"github.com/btcsuite/btcutil/hdkeychain"
|
||||
"github.com/conformal/btcnet"
|
||||
)
|
||||
|
||||
// TestBIP0032Vectors tests the vectors provided by [BIP32] to ensure the
|
||||
|
|
2
wif.go
2
wif.go
|
@ -8,10 +8,10 @@ import (
|
|||
"bytes"
|
||||
"errors"
|
||||
|
||||
"github.com/btcsuite/btcnet"
|
||||
"github.com/btcsuite/btcutil/base58"
|
||||
"github.com/btcsuite/btcwire"
|
||||
"github.com/conformal/btcec"
|
||||
"github.com/conformal/btcnet"
|
||||
)
|
||||
|
||||
// ErrMalformedPrivateKey describes an error where a WIF-encoded private
|
||||
|
|
|
@ -7,9 +7,9 @@ package btcutil_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/btcsuite/btcnet"
|
||||
. "github.com/btcsuite/btcutil"
|
||||
"github.com/conformal/btcec"
|
||||
"github.com/conformal/btcnet"
|
||||
)
|
||||
|
||||
func TestEncodeDecodeWIF(t *testing.T) {
|
||||
|
|
Loading…
Reference in a new issue