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:
parent
088bf56f2a
commit
7c00c1e5d5
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user