indent output

This commit is contained in:
beck 2023-03-06 18:04:55 +08:00
parent 668b24fb23
commit f0ba0ebb64

View File

@ -676,7 +676,7 @@ It will not send any messages to the chain.`,
postParams = append(postParams, postParam) postParams = append(postParams, postParam)
} }
jr, err := json.Marshal(postParams) jr, err := json.MarshalIndent(postParams, "", " ")
if err != nil { if err != nil {
return err return err
} }