Skip to content

Commit

Permalink
Check length of msig address
Browse files Browse the repository at this point in the history
Check the length of multisig address, and print based on that.
  • Loading branch information
rjan90 committed Sep 2, 2022
1 parent 7c00c1e commit 3e74819
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/lotus-miner/actor.go
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,9 @@ var actorControlList = &cli.Command{
}
kstr := k.String()
if !cctx.Bool("verbose") {
kstr = kstr[:6] + "..."
if len(kstr) > 9 {
kstr = kstr[:6] + "..."
}
}

bstr := types.FIL(b).String()
Expand Down

0 comments on commit 3e74819

Please sign in to comment.