mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
d76ca6ed35
This 'fixes' the `wait_for` helper by removing a pointless final `time.sleep()`, thus potentially making the method return quicker. The old code could have had three final states: - success() := True - Timeout and success() := True - Timeout and success() := False The new code has just two final state: - success() := True - Timeout and success() := False It ensures the final `time.sleep()` is just the right amount before timeout. And more importantly making it more readable :-) Changelog-None |
||
---|---|---|
.. | ||
init | ||
plugins | ||
pylightning | ||
pyln-client | ||
pyln-proto | ||
pyln-spec | ||
pyln-testing | ||
reprobuild | ||
sanitizer_suppressions | ||
bootstrap-node.sh | ||
Dockerfile.builder | ||
Dockerfile.builder.fedora | ||
Dockerfile.tester | ||
lightning-cli.bash-completion | ||
linuxarm32v7.Dockerfile | ||
linuxarm64v8.Dockerfile | ||
short_channel_id-to-txid.sh | ||
startup_regtest.sh |