From ff58d6571d21c0a8478befc038afd07b56bc0549 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Tue, 3 Mar 2015 21:04:24 -0600 Subject: [PATCH] Update golang.org/x/crypto import paths to new location. --- address.go | 3 +-- address_test.go | 3 +-- hash160.go | 3 +-- internal_test.go | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/address.go b/address.go index 5ac70df..b8c75bc 100644 --- a/address.go +++ b/address.go @@ -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 ( diff --git a/address_test.go b/address_test.go index a57cc9e..5a5cc47 100644 --- a/address_test.go +++ b/address_test.go @@ -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. diff --git a/hash160.go b/hash160.go index 637302f..db1b1b8 100644 --- a/hash160.go +++ b/hash160.go @@ -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. diff --git a/internal_test.go b/internal_test.go index da325ba..30df56a 100644 --- a/internal_test.go +++ b/internal_test.go @@ -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