fix: paych: Print "waiting for confirmation.."

Prints an "waiting for confirmation.." when running `lotus paych [fromAddress toAddress amount]` to indicate that the command is waiting for the msg to be confirmed and not just hanging.
This commit is contained in:
Phi 2022-06-08 10:43:49 +02:00
parent 27eaebad7e
commit 0444563e65

View File

@ -92,6 +92,7 @@ var paychAddFundsCmd = &cli.Command{
}
// Wait for the message to be confirmed
fmt.Println("waiting for confirmation..")
chAddr, err := api.PaychGetWaitReady(ctx, info.WaitSentinel)
if err != nil {
return err