Print "waiting for confirmation.." in msigCreateCmd
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
This commit is contained in:
parent
caeeb6a7d9
commit
da64f241eb
@ -161,6 +161,7 @@ var msigCreateCmd = &cli.Command{
|
|||||||
msgCid := sm.Cid()
|
msgCid := sm.Cid()
|
||||||
|
|
||||||
fmt.Println("sent create in message: ", msgCid)
|
fmt.Println("sent create in message: ", msgCid)
|
||||||
|
fmt.Println("waiting for confirmation..")
|
||||||
|
|
||||||
// wait for it to get mined into a block
|
// wait for it to get mined into a block
|
||||||
wait, err := api.StateWaitMsg(ctx, msgCid, uint64(cctx.Int("confidence")), build.Finality, true)
|
wait, err := api.StateWaitMsg(ctx, msgCid, uint64(cctx.Int("confidence")), build.Finality, true)
|
||||||
|
Loading…
Reference in New Issue
Block a user