Skip to content

Commit

Permalink
Update keys.go
Browse files Browse the repository at this point in the history
  • Loading branch information
samricotta committed Feb 12, 2025
1 parent 7ec58b6 commit dc3728a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eotsmanager/cmd/eotsd/daemon/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,13 +290,15 @@ func runCommandPrintAllKeys(cmd *cobra.Command, _ []string) error {
return err
}
_, err = fmt.Fprintln(cmd.OutOrStdout(), string(bz))

return err
}

for _, k := range keys {
cmd.Printf("Key Name: %s\nAddress: %s\nEOTS PK: %s\n\n",
k.Name, k.Address, k.EOTSPK)
}

return nil
}

Expand Down

0 comments on commit dc3728a

Please sign in to comment.