Allow loading keystores produced by Lighthouse

The spec allows the description to be set to 'null'
This commit is contained in:
Zahary Karadjov 2020-08-06 01:38:55 +03:00 committed by zah
parent 81b3c0ea40
commit b902fddd19

View File

@ -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)