diff --git a/core/commands/keystore.go b/core/commands/keystore.go index efa33d5d7..2a75c5409 100644 --- a/core/commands/keystore.go +++ b/core/commands/keystore.go @@ -125,7 +125,7 @@ var KeyGenCmd = &cmds.Command{ return nil, fmt.Errorf("expected a KeyOutput as command result") } - return strings.NewReader(k.Id), nil + return strings.NewReader(k.Id + "\n"), nil }, }, Type: KeyOutput{},