From 40ea1066ba505ee4ebded1c90d8925a590445942 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Thu, 13 Jun 2024 13:11:18 +0200 Subject: [PATCH] cli: write seed shares on first set Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- cli/cmd/set.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cli/cmd/set.go b/cli/cmd/set.go index c5299a18a4..c0bcf1d7c9 100644 --- a/cli/cmd/set.go +++ b/cli/cmd/set.go @@ -156,9 +156,7 @@ func runSet(cmd *cobra.Command, args []string) error { if err != nil { return fmt.Errorf("marshaling seed shares: %w", err) } - // TODO(katexochen): feat#recovery add file once feature is ready. - _ = seedShareFile - // filelist[seedSharesFilename] = seedShareFile + filelist[seedSharesFilename] = seedShareFile } if err := writeFilelist(flags.workspaceDir, filelist); err != nil {