Merge PR #3520: Minor CLI Output Updates

* minor cli output fixes

* Update client/utils/utils.go

Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
This commit is contained in:
Alexander Bezobchuk 2019-02-06 11:48:06 -08:00 committed by Jack Zampolin
parent 9a57ce0214
commit c5ab5699e3
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ func CompleteAndBroadcastTxCLI(txBldr authtxb.TxBuilder, cliCtx context.CLIConte
}
gasEst := GasEstimateResponse{GasEstimate: txBldr.Gas()}
fmt.Fprintf(os.Stderr, gasEst.String())
fmt.Fprintf(os.Stderr, "%s\n", gasEst.String())
}
if cliCtx.Simulate {

View File

@ -94,7 +94,7 @@ func (st StringTags) String() string {
for _, t := range st {
sb.WriteString(fmt.Sprintf(" - %s\n", t.String()))
}
return strings.TrimSpace(sb.String())
return sb.String()
}
// Conversion function from a []byte tag to a string tag