Update btcnet import paths to new location.

This commit is contained in:
Dave Collins 2015-01-16 17:36:18 -06:00
parent fdc00f8eff
commit 7ac9b42a52
7 changed files with 7 additions and 7 deletions

View file

@ -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 (

View file

@ -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.

View file

@ -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

View file

@ -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 (

View file

@ -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
View file

@ -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

View file

@ -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) {