]> git.bitcoin.ninja Git - rust-lightning/commit
Common offers test_utils module
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 2 Feb 2023 23:13:09 +0000 (17:13 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 18 Apr 2023 18:30:10 +0000 (13:30 -0500)
commitce7a02d1e002e5047aa1bf56a0176d85d8a5bde3
treee0f0f93e94d8211ec905bbc1345a4be615ec4f54
parenta332bfcdc25e26bae2f550dc3e3ce35d2343a032
Common offers test_utils module

Move utility functions used across all offers modules into a common
module. Avoids duplicating larger utilities such as payment_path across
more than one module.
lightning/src/offers/invoice.rs
lightning/src/offers/invoice_request.rs
lightning/src/offers/mod.rs
lightning/src/offers/offer.rs
lightning/src/offers/refund.rs
lightning/src/offers/test_utils.rs [new file with mode: 0644]