Merge pull request #2056 from fjl/fix-account-format

crypto: "Crypto" -> "crypto" in web3 key format
This commit is contained in:
Jeffrey Wilcke 2015-12-10 10:45:00 +01:00
commit 787d71d659

View File

@ -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 {