Skip to content

Commit 9f403f1

Browse files
arminsabouriDanGould
authored andcommitted
Rename receiever persist.rs to session.rs
Renamed `persist.rs` to `session.rs` as the file no longer manages persistence logic. It now handles session replays and history management.
1 parent 8437ad5 commit 9f403f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

payjoin/src/receive/v2/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ use bitcoin::psbt::Psbt;
77
use bitcoin::{Address, FeeRate, OutPoint, Script, TxOut};
88
pub(crate) use error::InternalSessionError;
99
pub use error::SessionError;
10-
use persist::InternalReplayError;
11-
pub use persist::{replay_event_log, ReplayError, SessionEvent, SessionHistory};
1210
use serde::de::Deserializer;
1311
use serde::{Deserialize, Serialize};
12+
use session::InternalReplayError;
13+
pub use session::{replay_event_log, ReplayError, SessionEvent, SessionHistory};
1414
use url::Url;
1515

1616
use super::error::{Error, InputContributionError};
@@ -31,7 +31,7 @@ use crate::uri::ShortId;
3131
use crate::{ImplementationError, IntoUrl, IntoUrlError, Request, Version};
3232

3333
mod error;
34-
mod persist;
34+
mod session;
3535

3636
const SUPPORTED_VERSIONS: &[Version] = &[Version::One, Version::Two];
3737

0 commit comments

Comments
 (0)