crypto: "Crypto" -> "crypto" in web3 key format

pull/2056/head
Felix Lange 9 years ago
parent 6d3a924283
commit 032453b3e7
  1. 16
      crypto/key.go

@ -50,17 +50,17 @@ type plainKeyJSON struct {
} }
type encryptedKeyJSONV3 struct { type encryptedKeyJSONV3 struct {
Address string `json:"address"` Address string `json:"address"`
Crypto cryptoJSON Crypto cryptoJSON `json:"crypto"`
Id string `json:"id"` Id string `json:"id"`
Version int `json:"version"` Version int `json:"version"`
} }
type encryptedKeyJSONV1 struct { type encryptedKeyJSONV1 struct {
Address string `json:"address"` Address string `json:"address"`
Crypto cryptoJSON Crypto cryptoJSON `json:"crypto"`
Id string `json:"id"` Id string `json:"id"`
Version string `json:"version"` Version string `json:"version"`
} }
type cryptoJSON struct { type cryptoJSON struct {

Loading…
Cancel
Save