mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-05 07:37:14 +00:00
Fix TMSP tutorial outputs
This commit is contained in:
@@ -234,7 +234,7 @@ func cmdCheckTx(c *cli.Context) error {
|
||||
// Get application Merkle root hash
|
||||
func cmdCommit(c *cli.Context) error {
|
||||
res := client.CommitSync()
|
||||
printResponse(c, res, Fmt("%X", res.Data), false)
|
||||
printResponse(c, res, Fmt("0x%X", res.Data), false)
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -264,7 +264,7 @@ func printResponse(c *cli.Context, res types.Result, s string, printCode bool) {
|
||||
fmt.Printf("-> error: %s\n", res.Error)
|
||||
}*/
|
||||
if s != "" {
|
||||
fmt.Printf("-> data: {%s}\n", s)
|
||||
fmt.Printf("-> data: %s\n", s)
|
||||
}
|
||||
if res.Log != "" {
|
||||
fmt.Printf("-> log: %s\n", res.Log)
|
||||
|
||||
Reference in New Issue
Block a user