print confidence in decimal

This commit is contained in:
Jennifer Wang 2021-10-11 12:34:51 -04:00
parent a5ee1c69fe
commit 16743a25c2

View File

@ -282,7 +282,7 @@ var actorWithdrawCmd = &cli.Command{
fmt.Printf("Requested rewards withdrawal in message %s\n", smsg.Cid()) fmt.Printf("Requested rewards withdrawal in message %s\n", smsg.Cid())
// wait for it to get mined into a block // wait for it to get mined into a block
fmt.Printf("waiting for %x epochs for confirmation..\n", uint64(cctx.Int("confidence"))) fmt.Printf("waiting for %d epochs for confirmation..\n", uint64(cctx.Int("confidence")))
wait, err := api.StateWaitMsg(ctx, smsg.Cid(), uint64(cctx.Int("confidence"))) wait, err := api.StateWaitMsg(ctx, smsg.Cid(), uint64(cctx.Int("confidence")))
if err != nil { if err != nil {
return err return err