mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
accounts: omit if the KDFParam field has an empty value
This commit is contained in:
parent
0bea9a6447
commit
7def2d5ce6
1 changed files with 8 additions and 8 deletions
|
|
@ -79,13 +79,13 @@ type encryptedKeyJSONV1 struct {
|
|||
}
|
||||
|
||||
type kdfparamsJSON struct {
|
||||
Salt string `json:"salt"`
|
||||
Prf string `json:"prf"`
|
||||
DKLen int `json:"dklen"`
|
||||
C int `json:"c"`
|
||||
N int `json:"n"`
|
||||
P int `json:"p"`
|
||||
R int `json:"r"`
|
||||
Salt string `json:"salt,omitempty"`
|
||||
Prf string `json:"prf,omitempty"`
|
||||
DKLen int `json:"dklen,omitempty"`
|
||||
C int `json:"c,omitempty"`
|
||||
N int `json:"n,omitempty"`
|
||||
P int `json:"p,omitempty"`
|
||||
R int `json:"r,omitempty"`
|
||||
}
|
||||
|
||||
type CryptoJSON struct {
|
||||
|
|
|
|||
Loading…
Reference in a new issue