Update golang.org/x/crypto import paths to new location.
This commit is contained in:
parent
499e9e0daa
commit
ff58d6571d
4 changed files with 4 additions and 8 deletions
|
@ -8,11 +8,10 @@ import (
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"golang.org/x/crypto/ripemd160"
|
|
||||||
|
|
||||||
"github.com/btcsuite/btcd/btcec"
|
"github.com/btcsuite/btcd/btcec"
|
||||||
"github.com/btcsuite/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/btcsuite/btcutil/base58"
|
"github.com/btcsuite/btcutil/base58"
|
||||||
|
"github.com/btcsuite/golangcrypto/ripemd160"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -11,11 +11,10 @@ import (
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"golang.org/x/crypto/ripemd160"
|
|
||||||
|
|
||||||
"github.com/btcsuite/btcd/chaincfg"
|
"github.com/btcsuite/btcd/chaincfg"
|
||||||
"github.com/btcsuite/btcd/wire"
|
"github.com/btcsuite/btcd/wire"
|
||||||
"github.com/btcsuite/btcutil"
|
"github.com/btcsuite/btcutil"
|
||||||
|
"github.com/btcsuite/golangcrypto/ripemd160"
|
||||||
)
|
)
|
||||||
|
|
||||||
// invalidNet is an invalid bitcoin network.
|
// invalidNet is an invalid bitcoin network.
|
||||||
|
|
|
@ -7,9 +7,8 @@ package btcutil
|
||||||
import (
|
import (
|
||||||
"hash"
|
"hash"
|
||||||
|
|
||||||
"golang.org/x/crypto/ripemd160"
|
|
||||||
|
|
||||||
"github.com/btcsuite/fastsha256"
|
"github.com/btcsuite/fastsha256"
|
||||||
|
"github.com/btcsuite/golangcrypto/ripemd160"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Calculate the hash of hasher over buf.
|
// Calculate the hash of hasher over buf.
|
||||||
|
|
|
@ -12,10 +12,9 @@ interface. The functions are only exported while the tests are being run.
|
||||||
package btcutil
|
package btcutil
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"golang.org/x/crypto/ripemd160"
|
|
||||||
|
|
||||||
"github.com/btcsuite/btcd/btcec"
|
"github.com/btcsuite/btcd/btcec"
|
||||||
"github.com/btcsuite/btcutil/base58"
|
"github.com/btcsuite/btcutil/base58"
|
||||||
|
"github.com/btcsuite/golangcrypto/ripemd160"
|
||||||
)
|
)
|
||||||
|
|
||||||
// SetBlockBytes sets the internal serialized block byte buffer to the passed
|
// SetBlockBytes sets the internal serialized block byte buffer to the passed
|
||||||
|
|
Loading…
Reference in a new issue