Skip to content

Commit b2cc55d

Browse files
committed
f Use store rather than payment_store module naming
1 parent d6e310c commit b2cc55d

File tree

8 files changed

+8
-10
lines changed

8 files changed

+8
-10
lines changed

src/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use crate::io::sqlite_store::SqliteStore;
1111
use crate::liquidity::LiquiditySource;
1212
use crate::logger::{log_error, log_info, FilesystemLogger, Logger};
1313
use crate::message_handler::NodeCustomMessageHandler;
14-
use crate::payment::payment_store::PaymentStore;
14+
use crate::payment::store::PaymentStore;
1515
use crate::peer_store::PeerStore;
1616
use crate::tx_broadcaster::TransactionBroadcaster;
1717
use crate::types::{

src/event.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use crate::{
33
hex_utils, ChannelManager, Config, Error, NetworkGraph, PeerInfo, PeerStore, UserChannelId,
44
};
55

6-
use crate::payment::payment_store::{
6+
use crate::payment::store::{
77
PaymentDetails, PaymentDetailsUpdate, PaymentDirection, PaymentStatus, PaymentStore,
88
};
99

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ use connection::ConnectionManager;
129129
use event::{EventHandler, EventQueue};
130130
use gossip::GossipSource;
131131
use liquidity::LiquiditySource;
132-
use payment::payment_store::PaymentStore;
132+
use payment::store::PaymentStore;
133133
use payment::{Bolt11Payment, OnchainPayment, PaymentDetails, SpontaneousPayment};
134134
use peer_store::{PeerInfo, PeerStore};
135135
use types::{

src/payment/bolt11.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use crate::connection::ConnectionManager;
77
use crate::error::Error;
88
use crate::liquidity::LiquiditySource;
99
use crate::logger::{log_error, log_info, FilesystemLogger, Logger};
10-
use crate::payment::payment_store::{
10+
use crate::payment::store::{
1111
LSPFeeLimits, PaymentDetails, PaymentDirection, PaymentStatus, PaymentStore,
1212
};
1313
use crate::peer_store::{PeerInfo, PeerStore};

src/payment/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
33
mod bolt11;
44
mod onchain;
5-
pub(crate) mod payment_store;
65
mod spontaneous;
6+
pub(crate) mod store;
77

88
pub use bolt11::Bolt11Payment;
99
pub use onchain::OnchainPayment;
10-
pub use payment_store::{LSPFeeLimits, PaymentDetails, PaymentDirection, PaymentStatus};
1110
pub use spontaneous::SpontaneousPayment;
11+
pub use store::{LSPFeeLimits, PaymentDetails, PaymentDirection, PaymentStatus};

src/payment/spontaneous.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
use crate::config::{Config, LDK_PAYMENT_RETRY_TIMEOUT};
44
use crate::error::Error;
55
use crate::logger::{log_error, log_info, FilesystemLogger, Logger};
6-
use crate::payment::payment_store::{
7-
PaymentDetails, PaymentDirection, PaymentStatus, PaymentStore,
8-
};
6+
use crate::payment::store::{PaymentDetails, PaymentDirection, PaymentStatus, PaymentStore};
97
use crate::types::{ChannelManager, KeysManager};
108

119
use lightning::ln::channelmanager::{PaymentId, RecipientOnionFields, Retry, RetryableSendFailure};
File renamed without changes.

src/uniffi_types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pub use crate::payment::payment_store::{LSPFeeLimits, PaymentDirection, PaymentStatus};
1+
pub use crate::payment::store::{LSPFeeLimits, PaymentDirection, PaymentStatus};
22

33
pub use lightning::events::{ClosureReason, PaymentFailureReason};
44
pub use lightning::ln::{ChannelId, PaymentHash, PaymentPreimage, PaymentSecret};

0 commit comments

Comments
 (0)