Update golang.org/x/crypto import paths to new location.

This commit is contained in:
Dave Collins 2015-03-03 21:04:24 -06:00
parent 499e9e0daa
commit ff58d6571d
4 changed files with 4 additions and 8 deletions

View file

@ -8,11 +8,10 @@ import (
"encoding/hex"
"errors"
"golang.org/x/crypto/ripemd160"
"github.com/btcsuite/btcd/btcec"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcutil/base58"
"github.com/btcsuite/golangcrypto/ripemd160"
)
var (

View file

@ -11,11 +11,10 @@ import (
"reflect"
"testing"
"golang.org/x/crypto/ripemd160"
"github.com/btcsuite/btcd/chaincfg"
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/btcsuite/golangcrypto/ripemd160"
)
// invalidNet is an invalid bitcoin network.

View file

@ -7,9 +7,8 @@ package btcutil
import (
"hash"
"golang.org/x/crypto/ripemd160"
"github.com/btcsuite/fastsha256"
"github.com/btcsuite/golangcrypto/ripemd160"
)
// Calculate the hash of hasher over buf.

View file

@ -12,10 +12,9 @@ interface. The functions are only exported while the tests are being run.
package btcutil
import (
"golang.org/x/crypto/ripemd160"
"github.com/btcsuite/btcd/btcec"
"github.com/btcsuite/btcutil/base58"
"github.com/btcsuite/golangcrypto/ripemd160"
)
// SetBlockBytes sets the internal serialized block byte buffer to the passed