Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
paymod: Reset the step if we're waiting for a block
This was causing the state flapping test to fail, since we were yielding control of the io_loop, waiting for the blockheight to be reached, and not setting the status beforehand. An interim `paystatus` call would then find a failed leaf and deduce the entire payment failed. Setting it back to the previous state keeps the overall payment pending while we wait.
- Loading branch information