Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
Switch to upstream golang.org/x/crypto (decred#608)
Browse files Browse the repository at this point in the history
* Switch to upstream golang.org/x/crypto

* Update dcrutil to move to upstream crypto there too
  • Loading branch information
jcvernaleo authored Mar 8, 2017
1 parent f7d1882 commit 72673d9
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion chainindexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"github.com/decred/dcrd/wire"
"github.com/decred/dcrutil"
"github.com/btcsuite/golangcrypto/ripemd160"
"golang.org/x/crypto/ripemd160"
)
TODO Replace this with a new addrindexer
Expand Down
14 changes: 7 additions & 7 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ import:
- package: github.com/btcsuite/go-socks
subpackages:
- socks
- package: github.com/btcsuite/golangcrypto
subpackages:
- ripemd160
- package: github.com/btcsuite/goleveldb
subpackages:
- leveldb
Expand Down Expand Up @@ -36,6 +33,9 @@ import:
- package: github.com/decred/ed25519
subpackages:
- edwards25519
- package: golang.org/x/crypto
subpackages:
- ripemd160
testImport:
- package: github.com/stretchr/testify
version: ^1.1.0
Expand Down
2 changes: 1 addition & 1 deletion rpcwebsocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"sync"
"time"

"github.com/btcsuite/golangcrypto/ripemd160"
"github.com/btcsuite/websocket"
"golang.org/x/crypto/ripemd160"

"github.com/decred/dcrd/blockchain"
"github.com/decred/dcrd/blockchain/stake"
Expand Down
2 changes: 1 addition & 1 deletion txscript/opcode.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"fmt"
"hash"

"github.com/btcsuite/golangcrypto/ripemd160"
"golang.org/x/crypto/ripemd160"

"github.com/decred/dcrd/chaincfg"
"github.com/decred/dcrd/chaincfg/chainec"
Expand Down

0 comments on commit 72673d9

Please sign in to comment.