mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-23 01:41:31 +00:00
committed by
Anton Kaliaev
parent
7e3de2027e
commit
3e1baf68f8
@ -28,7 +28,7 @@ func TestReadPrivKey(t *testing.T) {
|
||||
|
||||
// garbage in, garbage out
|
||||
garbage := []byte("hjgewugfbiewgofwgewr")
|
||||
XXX This test wants to register BadKey globally to go-crypto,
|
||||
XXX This test wants to register BadKey globally to crypto,
|
||||
but we don't want to support that.
|
||||
_, err := PrivKeyFromBytes(garbage)
|
||||
require.Error(err)
|
||||
|
Reference in New Issue
Block a user