Check length of msig address

Check the length of multisig address, and print based on that.
This commit is contained in:
Phi 2022-09-02 10:33:32 +02:00
parent 7c00c1e5d5
commit 3e74819519

View File

@ -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()