Tune down slice

Tuning down slice to only 6 characters to avoid panics if the multisig-actor is of really low character length.
This commit is contained in:
Phi 2022-09-01 11:54:10 +02:00
parent 088bf56f2a
commit 7c00c1e5d5
2 changed files with 2 additions and 2 deletions

View File

@ -513,7 +513,7 @@ var actorControlList = &cli.Command{
}
kstr := k.String()
if !cctx.Bool("verbose") {
kstr = kstr[:9] + "..."
kstr = kstr[:6] + "..."
}
bstr := types.FIL(b).String()

View File

@ -367,7 +367,7 @@ var actorControlList = &cli.Command{
kstr := k.String()
if !cctx.Bool("verbose") {
kstr = kstr[:9] + "..."
kstr = kstr[:6] + "..."
}
bstr := types.FIL(b).String()