Skip to content

Commit

Permalink
fix: paych: Print "waiting for confirmation.."
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rjan90 committed Jun 8, 2022
1 parent 27eaeba commit 0444563
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/paych.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0444563

Please sign in to comment.