Skip to content

Commit abf8ebb

Browse files
committed
Limit visibility of id method for SessionContext to the crate only
Because SessionContext itself is limited in visibility to the crate this id method should also be lmited to crate visibility.
1 parent 7c9e7ee commit abf8ebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

payjoin/src/receive/v2/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ impl SessionContext {
5858
}
5959

6060
/// The per-session identifier
61-
pub fn id(&self) -> ShortId {
61+
pub(crate) fn id(&self) -> ShortId {
6262
sha256::Hash::hash(&self.s.public_key().to_compressed_bytes()).into()
6363
}
6464
}

0 commit comments

Comments
 (0)