mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-20 15:04:22 +00:00
Fixed all imports in keys
This commit is contained in:
@@ -135,7 +135,7 @@ func readInfo(path string) (info keys.Info, err error) {
|
||||
return
|
||||
}
|
||||
pk, err := crypto.PubKeyFromBytes(data)
|
||||
info.PubKey = crypto.PubKeyS{pk}
|
||||
info.PubKey = pk
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ func TestBasicCRUD(t *testing.T) {
|
||||
pubkey := crypto.GenPrivKeyEd25519().PubKey()
|
||||
info := keys.Info{
|
||||
Name: name,
|
||||
PubKey: crypto.PubKeyS{pubkey},
|
||||
PubKey: pubkey.Wrap(),
|
||||
}
|
||||
|
||||
// No data: Get and Delete return nothing
|
||||
|
||||
@@ -17,7 +17,7 @@ func TestBasicCRUD(t *testing.T) {
|
||||
pubkey := crypto.GenPrivKeyEd25519().PubKey()
|
||||
info := keys.Info{
|
||||
Name: name,
|
||||
PubKey: crypto.PubKeyS{pubkey},
|
||||
PubKey: pubkey,
|
||||
}
|
||||
|
||||
// No data: Get and Delete return nothing
|
||||
|
||||
Reference in New Issue
Block a user