diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-12-10 17:45:00 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-12-10 17:45:00 +0800 |
commit | 787d71d6595df98586c625e82f4decb034215203 (patch) | |
tree | 518970d630f073efdb5f875fc9ea5fff89d5bdba /crypto | |
parent | b2ffb76ca2bc043ddf2f17d2ec5ac5bba0038c19 (diff) | |
parent | 032453b3e7252ebce88bef82399e1ef7dd198199 (diff) | |
download | dexon-787d71d6595df98586c625e82f4decb034215203.tar dexon-787d71d6595df98586c625e82f4decb034215203.tar.gz dexon-787d71d6595df98586c625e82f4decb034215203.tar.bz2 dexon-787d71d6595df98586c625e82f4decb034215203.tar.lz dexon-787d71d6595df98586c625e82f4decb034215203.tar.xz dexon-787d71d6595df98586c625e82f4decb034215203.tar.zst dexon-787d71d6595df98586c625e82f4decb034215203.zip |
Merge pull request #2056 from fjl/fix-account-format
crypto: "Crypto" -> "crypto" in web3 key format
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/key.go | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/crypto/key.go b/crypto/key.go index ccf284ad8..8e2d8553b 100644 --- a/crypto/key.go +++ b/crypto/key.go @@ -50,17 +50,17 @@ type plainKeyJSON struct { } type encryptedKeyJSONV3 struct { - Address string `json:"address"` - Crypto cryptoJSON - Id string `json:"id"` - Version int `json:"version"` + Address string `json:"address"` + Crypto cryptoJSON `json:"crypto"` + Id string `json:"id"` + Version int `json:"version"` } type encryptedKeyJSONV1 struct { - Address string `json:"address"` - Crypto cryptoJSON - Id string `json:"id"` - Version string `json:"version"` + Address string `json:"address"` + Crypto cryptoJSON `json:"crypto"` + Id string `json:"id"` + Version string `json:"version"` } type cryptoJSON struct { |