mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-22 20:42:13 +00:00
Allow loading keystores produced by Lighthouse
The spec allows the description to be set to 'null'
This commit is contained in:
parent
81b3c0ea40
commit
b902fddd19
@ -96,7 +96,7 @@ type
|
||||
|
||||
Keystore* = object
|
||||
crypto*: Crypto
|
||||
description*: string
|
||||
description*: ref string
|
||||
pubkey*: ValidatorPubKey
|
||||
path*: KeyPath
|
||||
uuid*: string
|
||||
@ -528,7 +528,7 @@ proc createKeystore*(kdfKind: KdfKind,
|
||||
crypto: cryptoField,
|
||||
pubkey: pubkey,
|
||||
path: path,
|
||||
description: description,
|
||||
description: newClone(description),
|
||||
uuid: $uuid,
|
||||
version: 4)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user