aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-12-10 17:45:00 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-12-10 17:45:00 +0800
commit787d71d6595df98586c625e82f4decb034215203 (patch)
tree518970d630f073efdb5f875fc9ea5fff89d5bdba /crypto
parentb2ffb76ca2bc043ddf2f17d2ec5ac5bba0038c19 (diff)
parent032453b3e7252ebce88bef82399e1ef7dd198199 (diff)
downloaddexon-787d71d6595df98586c625e82f4decb034215203.tar.gz
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.go16
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 {