diff --git a/beacon_chain/spec/keystore.nim b/beacon_chain/spec/keystore.nim index b989db57f..a966657b3 100644 --- a/beacon_chain/spec/keystore.nim +++ b/beacon_chain/spec/keystore.nim @@ -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)