Skip to content

Commit

Permalink
chore: add better printing of output key
Browse files Browse the repository at this point in the history
  • Loading branch information
RafilxTenfen committed Nov 27, 2024
1 parent 6c8c66a commit 6fa5816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eotsmanager/cmd/eotsd/daemon/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func printCreatePubKeyHex(cmd *cobra.Command, k *cryptokeyring.Record, eotsPk *t
keyOutput.Mnemonic = mnemonic
}

jsonString, err := json.Marshal(keyOutput)
jsonString, err := json.MarshalIndent(keyOutput, "", " ")
if err != nil {
return err
}
Expand Down

0 comments on commit 6fa5816

Please sign in to comment.