]> git.bitcoin.ninja Git - rust-lightning/commit
Result from Bolt12Invoice::verify_using_payer_data
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 23 Jul 2024 21:09:14 +0000 (16:09 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 30 Jul 2024 21:06:24 +0000 (16:06 -0500)
commit4a69f58ff69f2cfc36c1cfb24630c7b7f9d8177b
tree309ad0b188eb24b8721455225ef6d30ed4c66aff
parent353b45f70aeada8fb92f127d0329200fd9bea9d8
Result from Bolt12Invoice::verify_using_payer_data

Use a Result return type instead of a bool when verifying a
Bolt12Invoice. This way ignoring the result will produce a compiler
warning.
lightning/src/ln/channelmanager.rs
lightning/src/offers/invoice.rs
lightning/src/offers/invoice_request.rs
lightning/src/offers/refund.rs