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:
parent
3244969b93
commit
509c44d446
@ -249,6 +249,8 @@ var actorWithdrawCmd = &cli.Command{
|
|||||||
return err
|
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 for it to get mined into a block
|
||||||
wait, err := api.StateWaitMsg(ctx, res, uint64(cctx.Int("confidence")))
|
wait, err := api.StateWaitMsg(ctx, res, uint64(cctx.Int("confidence")))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user