aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/keystore/key.go
diff options
context:
space:
mode:
authorEgon Elbre <egonelbre@gmail.com>2017-08-07 19:11:15 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-08-07 19:11:15 +0800
commit7c74e166b0ee14cf040374f522bc399841a11e69 (patch)
tree5359ee39cc5f8a504cc2c734263a235ba8a6607a /accounts/keystore/key.go
parentf7848c2aa509ff4ac7c0f84e33bdb66b8fe3e80a (diff)
downloadgo-tangerine-7c74e166b0ee14cf040374f522bc399841a11e69.tar
go-tangerine-7c74e166b0ee14cf040374f522bc399841a11e69.tar.gz
go-tangerine-7c74e166b0ee14cf040374f522bc399841a11e69.tar.bz2
go-tangerine-7c74e166b0ee14cf040374f522bc399841a11e69.tar.lz
go-tangerine-7c74e166b0ee14cf040374f522bc399841a11e69.tar.xz
go-tangerine-7c74e166b0ee14cf040374f522bc399841a11e69.tar.zst
go-tangerine-7c74e166b0ee14cf040374f522bc399841a11e69.zip
accounts: fix megacheck warnings (#14903)
* accounts: fix megacheck warnings * accounts: don't modify abi in favor of full cleanup
Diffstat (limited to 'accounts/keystore/key.go')
-rw-r--r--accounts/keystore/key.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/accounts/keystore/key.go b/accounts/keystore/key.go
index ecc955d74..211fa863d 100644
--- a/accounts/keystore/key.go
+++ b/accounts/keystore/key.go
@@ -91,14 +91,6 @@ type cipherparamsJSON struct {
IV string `json:"iv"`
}
-type scryptParamsJSON struct {
- N int `json:"n"`
- R int `json:"r"`
- P int `json:"p"`
- DkLen int `json:"dklen"`
- Salt string `json:"salt"`
-}
-
func (k *Key) MarshalJSON() (j []byte, err error) {
jStruct := plainKeyJSON{
hex.EncodeToString(k.Address[:]),