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"
"github.com/btcsuite/btcnet"
"github.com/btcsuite/btcutil/base58"
"github.com/conformal/btcec"
"github.com/conformal/btcnet"
)
var (

View file

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

View file

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

View file

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

View file

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

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

View file

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