Skip to content

Commit 67a174d

Browse files
committed
Remove Receiver::id in payjoin-ffi
It was removed from rust-payjoin in payjoin#698.
1 parent 5c672b1 commit 67a174d

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

payjoin-ffi/src/receive/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,6 @@ impl Receiver {
115115
<Self as Into<payjoin::receive::v2::Receiver>>::into(self.clone()).pj_uri().into()
116116
}
117117

118-
///The per-session public key to use as an identifier
119-
pub fn id(&self) -> String {
120-
<Self as Into<payjoin::receive::v2::Receiver>>::into(self.clone()).id().to_string()
121-
}
122-
123118
pub fn to_json(&self) -> Result<String, SerdeJsonError> {
124119
serde_json::to_string(&self.0).map_err(Into::into)
125120
}

payjoin-ffi/src/receive/uni.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,6 @@ impl Receiver {
123123
.map(|e| e.map(|x| Arc::new(x.into())))
124124
}
125125

126-
///The per-session public key to use as an identifier
127-
pub fn id(&self) -> String { self.0.id() }
128-
129126
pub fn to_json(&self) -> Result<String, SerdeJsonError> { self.0.to_json() }
130127

131128
#[uniffi::constructor]

0 commit comments

Comments
 (0)