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