Skip to content

Commit 9ea92d5

Browse files
committed
Rename unified_qr to unified
This rename reflects that this module is a unified payment interface for both QR code payments and HRN payments passed in as a string without scanning a QR code
1 parent 65f49af commit 9ea92d5

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
@@ -12,7 +12,7 @@ mod bolt12;
1212
mod onchain;
1313
mod spontaneous;
1414
pub(crate) mod store;
15-
mod unified_qr;
15+
mod unified;
1616

1717
pub use bolt11::Bolt11Payment;
1818
pub use bolt12::Bolt12Payment;
@@ -21,7 +21,7 @@ pub use spontaneous::SpontaneousPayment;
2121
pub use store::{
2222
ConfirmationStatus, LSPFeeLimits, PaymentDetails, PaymentDirection, PaymentKind, PaymentStatus,
2323
};
24-
pub use unified_qr::{QrPaymentResult, UnifiedQrPayment};
24+
pub use unified::{QrPaymentResult, UnifiedQrPayment};
2525

2626
/// Represents information used to send a payment.
2727
#[derive(Clone, Debug, PartialEq)]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ impl DeserializationError for Extras {
304304
#[cfg(test)]
305305
mod tests {
306306
use super::*;
307-
use crate::payment::unified_qr::Extras;
307+
use crate::payment::unified::Extras;
308308
use bitcoin::{Address, Network};
309309
use std::str::FromStr;
310310

0 commit comments

Comments
 (0)