Merge pull request #9155 from filecoin-project/phi/print-withdraw-receipt

fix: ux: msg receipt for actor withdrawal
This commit is contained in:
Geoff Stuart 2022-08-11 09:05:02 -04:00 committed by GitHub
commit 5119769de0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {