Skip to content

Commit

Permalink
Print "waiting for confirmation.." in msigCreateCmd
Browse files Browse the repository at this point in the history
Prints an addition "waiting for confirmation.." when running `lotus msig create [address1 address2]` to indicate that command is waiting for the msg to be mined into block, and not just hanging.

Should fix #4053
  • Loading branch information
rjan90 committed Mar 24, 2022
1 parent caeeb6a commit da64f24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/multisig.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ var msigCreateCmd = &cli.Command{
msgCid := sm.Cid()

fmt.Println("sent create in message: ", msgCid)
fmt.Println("waiting for confirmation..")

// wait for it to get mined into a block
wait, err := api.StateWaitMsg(ctx, msgCid, uint64(cctx.Int("confidence")), build.Finality, true)
Expand Down

0 comments on commit da64f24

Please # to comment.