Update btcec import paths to new location.

This commit is contained in:
Dave Collins 2015-01-16 18:04:23 -06:00
parent 7ac9b42a52
commit 9e2037d6db
5 changed files with 5 additions and 5 deletions

View file

@ -10,9 +10,9 @@ import (
"golang.org/x/crypto/ripemd160" "golang.org/x/crypto/ripemd160"
"github.com/btcsuite/btcec"
"github.com/btcsuite/btcnet" "github.com/btcsuite/btcnet"
"github.com/btcsuite/btcutil/base58" "github.com/btcsuite/btcutil/base58"
"github.com/conformal/btcec"
) )
var ( var (

View file

@ -18,11 +18,11 @@ import (
"fmt" "fmt"
"math/big" "math/big"
"github.com/btcsuite/btcec"
"github.com/btcsuite/btcnet" "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"
) )
const ( const (

View file

@ -14,8 +14,8 @@ package btcutil
import ( import (
"golang.org/x/crypto/ripemd160" "golang.org/x/crypto/ripemd160"
"github.com/btcsuite/btcec"
"github.com/btcsuite/btcutil/base58" "github.com/btcsuite/btcutil/base58"
"github.com/conformal/btcec"
) )
// SetBlockBytes sets the internal serialized block byte buffer to the passed // SetBlockBytes sets the internal serialized block byte buffer to the passed

2
wif.go
View file

@ -8,10 +8,10 @@ import (
"bytes" "bytes"
"errors" "errors"
"github.com/btcsuite/btcec"
"github.com/btcsuite/btcnet" "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"
) )
// 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/btcec"
"github.com/btcsuite/btcnet" "github.com/btcsuite/btcnet"
. "github.com/btcsuite/btcutil" . "github.com/btcsuite/btcutil"
"github.com/conformal/btcec"
) )
func TestEncodeDecodeWIF(t *testing.T) { func TestEncodeDecodeWIF(t *testing.T) {