Make the function easier to understand and remove a few indentation levels by removing the unnecessary retry flag and reorganizing the code a bit.
There is no change in behavior.
Depends on D14838
Differential D14839
[electrum] regtest: refactor poll_for_answer Authored by PiRK on Nov 22 2023, 16:13.
Details
Make the function easier to understand and remove a few indentation levels by removing the unnecessary retry flag and reorganizing the code a bit. Depends on D14838 pytest electrumabc/tests/regtest
Diff Detail
Event Timeline
Comment Actions move time.sleep to the ends of the iteration instead of gating it on current != start
| ||||||||||||||||||||||||||||||||