]> git.bitcoin.ninja Git - rust-lightning/commit
Drop the `fails_paying_for_bolt12_invoice` test
authorMatt Corallo <git@bluematt.me>
Fri, 16 Feb 2024 18:33:53 +0000 (18:33 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 16 Feb 2024 18:42:29 +0000 (18:42 +0000)
commitf3067b84c676efd5d9b3122c884c4c764b919430
treeba7594b93b49b0e95a81284adf24ae3568fc6f0b
parent3fd4b3963c75fb47a2ded83cf133758d32549597
Drop the `fails_paying_for_bolt12_invoice` test

`fails_paying_for_bolt12_invoice` tests that we fail to send a
payment if the router returns `Ok` but includes a bogus route (one
with 0-length paths). While this marginally increases our test
coverage, in the next commit we'll be testing that all routes
round-trip serialization, which fails here as bogus routes are not
supported in deserialization.

Because this isn't particularly critical test coverage, we simply
opt to drop the test entirely here.
lightning/src/ln/outbound_payment.rs