fix: cli: correctly return error panic-less-ly
This commit is contained in:
parent
64de59ab44
commit
610a3eee5d
@ -290,7 +290,7 @@ var actorWithdrawCmd = &cli.Command{
|
||||
// wait for it to get mined into a block
|
||||
wait, err := api.StateWaitMsg(ctx, res, uint64(cctx.Int("confidence")))
|
||||
if err != nil {
|
||||
return xerrors.Errorf("Timeout waiting for withdrawal message %s", wait.Message)
|
||||
return xerrors.Errorf("Timeout waiting for withdrawal message %s", res)
|
||||
}
|
||||
|
||||
if wait.Receipt.ExitCode.IsError() {
|
||||
|
Loading…
Reference in New Issue
Block a user