Skip to content

Commit 5a353b8

Browse files
committed
Rename unified_qr module to unified
Rename the source file for the Unified QR payment logic from unified_qr.rs to unified.rs. This change is made in preparation for expanding the module's scope beyond just QR code payment processing.
1 parent bbefa73 commit 5a353b8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/payment/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ mod bolt12;
1313
mod onchain;
1414
mod spontaneous;
1515
pub(crate) mod store;
16-
mod unified_qr;
16+
mod unified;
1717

1818
pub use bolt11::Bolt11Payment;
1919
pub use bolt12::Bolt12Payment;
@@ -22,4 +22,4 @@ pub use spontaneous::SpontaneousPayment;
2222
pub use store::{
2323
ConfirmationStatus, LSPFeeLimits, PaymentDetails, PaymentDirection, PaymentKind, PaymentStatus,
2424
};
25-
pub use unified_qr::{QrPaymentResult, UnifiedQrPayment};
25+
pub use unified::{QrPaymentResult, UnifiedQrPayment};
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ mod tests {
313313
use bitcoin::{Address, Network};
314314

315315
use super::*;
316-
use crate::payment::unified_qr::Extras;
316+
use crate::payment::unified::Extras;
317317

318318
#[test]
319319
fn parse_uri() {

0 commit comments

Comments
 (0)