This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
tendermint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
221
Wiki
Activity
Browse Source
remove go-crypto from go-crypto:
use tendermint/crypto :-)
pull/1782/head
Liamsi
6 years ago
parent
80ab7bfe99
commit
c96b27136f
7 changed files
with
6 additions
and
7 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
crypto/merkle/simple_map.go
+1
-1
crypto/merkle/simple_map_test.go
+1
-1
crypto/merkle/simple_tree.go
+1
-1
crypto/merkle/simple_tree_test.go
+1
-1
crypto/pub_key.go
+1
-1
crypto/tmhash/hash_test.go
+0
-1
types/heartbeat_test.go
+ 1
- 1
crypto/merkle/simple_map.go
View File
@ -1,7 +1,7 @@
package
merkle
import
(
"github.com/tendermint/
go-
crypto/tmhash"
"github.com/tendermint/
tendermint/
crypto/tmhash"
cmn
"github.com/tendermint/tmlibs/common"
)
+ 1
- 1
crypto/merkle/simple_map_test.go
View File
@ -5,7 +5,7 @@ import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/tendermint/
go-
crypto/tmhash"
"github.com/tendermint/
tendermint/
crypto/tmhash"
)
type
strHasher
string
+ 1
- 1
crypto/merkle/simple_tree.go
View File
@ -1,7 +1,7 @@
package
merkle
import
(
"github.com/tendermint/
go-
crypto/tmhash"
"github.com/tendermint/
tendermint/
crypto/tmhash"
)
// SimpleHashFromTwoHashes is the basic operation of the Merkle tree: Hash(left | right).
+ 1
- 1
crypto/merkle/simple_tree_test.go
View File
@ -7,7 +7,7 @@ import (
.
"github.com/tendermint/tmlibs/test"
"testing"
"github.com/tendermint/
go-
crypto/tmhash"
"github.com/tendermint/
tendermint/
crypto/tmhash"
)
type
testItem
[
]
byte
+ 1
- 1
crypto/pub_key.go
View File
@ -14,7 +14,7 @@ import (
cmn
"github.com/tendermint/tmlibs/common"
"github.com/tendermint/
go-
crypto/tmhash"
"github.com/tendermint/
tendermint/
crypto/tmhash"
)
// An address is a []byte, but hex-encoded even in JSON.
+ 1
- 1
crypto/tmhash/hash_test.go
View File
@ -5,7 +5,7 @@ import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/tendermint/
go-
crypto/tmhash"
"github.com/tendermint/
tendermint/
crypto/tmhash"
)
func
TestHash
(
t
*
testing
.
T
)
{
+ 0
- 1
types/heartbeat_test.go
View File
@ -31,7 +31,6 @@ func TestHeartbeatString(t *testing.T) {
sig
,
err
:=
key
.
Sign
(
[
]
byte
(
"Tendermint"
)
)
require
.
NoError
(
t
,
err
)
hb
.
Signature
=
sig
require
.
Equal
(
t
,
hb
.
String
(
)
,
"Heartbeat{1:000000000000 11/02 (0) /FF41E371B9BF.../}"
)
}
Write
Preview
Loading…
Cancel
Save