]> git.bitcoin.ninja Git - rust-lightning/commit
Drop unreachable underflow-handling block in route calculation
authorMatt Corallo <git@bluematt.me>
Sat, 27 Mar 2021 22:16:38 +0000 (18:16 -0400)
committerMatt Corallo <git@bluematt.me>
Wed, 7 Apr 2021 01:41:45 +0000 (21:41 -0400)
commitbb62420b0f020d539944c8df8799b65a93f7cf7f
tree0c0119ae66c618504a83077c80d62051ffd52900
parent4c754372628ed155f4babf9f443e05f13481b0f7
Drop unreachable underflow-handling block in route calculation

See comment in the removed block, note that the subsequent
subtraction will underflow if the block would otherwise have been
reached.
lightning/src/routing/router.rs