Remove now-redundant checks in BOLT12 `Invoice` fallback addresses 2023-11-bitcoin-0.30-followups
authorMatt Corallo <git@bluematt.me>
Sun, 26 Nov 2023 19:09:06 +0000 (19:09 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 26 Nov 2023 19:09:06 +0000 (19:09 +0000)
commita41954d841ba58537043ddbc98e9cdb410004306
tree81b1894fea8667a591dbcdeabb1b884e3a388b79
parentb28068cc42882631799696b144d343686d2c3ebc
Remove now-redundant checks in BOLT12 `Invoice` fallback addresses

Now that we use the `rust-bitcoin` `WitnessProgram` to check our
addresses, we can just rely on it, rather than checking the program
length and version.
lightning/src/offers/invoice.rs