fix: ux: msg receipt for actor withdrawal

Prints the message receipt when withdrawing from the miner-actor. Also highlights that the command is waiting for the message to be included in  a block.
This commit is contained in:
Phi 2022-08-11 09:34:18 +02:00
parent 3244969b93
commit 509c44d446

View File

@ -249,6 +249,8 @@ var actorWithdrawCmd = &cli.Command{
return err
}
fmt.Printf("Requested withdrawal in message %s\nwaiting for it to be included in a block..\n", res)
// wait for it to get mined into a block
wait, err := api.StateWaitMsg(ctx, res, uint64(cctx.Int("confidence")))
if err != nil {