accounts: fix megacheck warnings (#14903)
* accounts: fix megacheck warnings * accounts: don't modify abi in favor of full cleanup
This commit is contained in:
committed by
Péter Szilágyi
parent
f7848c2aa5
commit
7c74e166b0
@ -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[:]),
|
||||
|
Reference in New Issue
Block a user