From f0ba0ebb642d701e7067e5a4c55add28a6f64abd Mon Sep 17 00:00:00 2001 From: beck <1504068285@qq.com> Date: Mon, 6 Mar 2023 18:04:55 +0800 Subject: [PATCH] indent output --- cmd/lotus-miner/proving.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-miner/proving.go b/cmd/lotus-miner/proving.go index 9cc7105ee..d58ed1250 100644 --- a/cmd/lotus-miner/proving.go +++ b/cmd/lotus-miner/proving.go @@ -676,7 +676,7 @@ It will not send any messages to the chain.`, postParams = append(postParams, postParam) } - jr, err := json.Marshal(postParams) + jr, err := json.MarshalIndent(postParams, "", " ") if err != nil { return err }