mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-03 22:51:37 +00:00
fix crypto tests
This commit is contained in:
@ -1,9 +1,9 @@
|
|||||||
# go-crypto [](https://godoc.org/github.com/tendermint/go-crypto)
|
# go-crypto
|
||||||
|
|
||||||
go-crypto is the cryptographic package adapted for Tendermint's uses
|
go-crypto is the cryptographic package adapted for Tendermint's uses
|
||||||
|
|
||||||
## Importing it
|
## Importing it
|
||||||
`import "github.com/tendermint/go-crypto"`
|
`import "github.com/tendermint/tendermint/crypto"`
|
||||||
|
|
||||||
## Binary encoding
|
## Binary encoding
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ package crypto_test
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/tendermint/go-crypto"
|
"github.com/tendermint/tendermint/crypto"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ExampleSha256() {
|
func ExampleSha256() {
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
crypto "github.com/tendermint/go-crypto"
|
"github.com/tendermint/tendermint/crypto"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestGeneratePrivKey(t *testing.T) {
|
func TestGeneratePrivKey(t *testing.T) {
|
||||||
|
Reference in New Issue
Block a user