Update btcec import paths to new location.
This commit is contained in:
parent
7ac9b42a52
commit
9e2037d6db
5 changed files with 5 additions and 5 deletions
|
@ -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 (
|
||||||
|
|
|
@ -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 (
|
||||||
|
|
|
@ -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
2
wif.go
|
@ -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
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue