aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-12-08 00:01:29 +0800
committerFelix Lange <fjl@twurst.com>2015-12-08 00:01:29 +0800
commit032453b3e7252ebce88bef82399e1ef7dd198199 (patch)
treea54b0c34fc3ff46d8874509a47d93c450545a2aa
parent6d3a92428323bd482bc657228b71cf600b0757ed (diff)
downloaddexon-032453b3e7252ebce88bef82399e1ef7dd198199.tar
dexon-032453b3e7252ebce88bef82399e1ef7dd198199.tar.gz
dexon-032453b3e7252ebce88bef82399e1ef7dd198199.tar.bz2
dexon-032453b3e7252ebce88bef82399e1ef7dd198199.tar.lz
dexon-032453b3e7252ebce88bef82399e1ef7dd198199.tar.xz
dexon-032453b3e7252ebce88bef82399e1ef7dd198199.tar.zst
dexon-032453b3e7252ebce88bef82399e1ef7dd198199.zip
crypto: "Crypto" -> "crypto" in web3 key format
-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 {