Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanKung committed Aug 9, 2023
1 parent 290b464 commit b8240f9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,13 @@ impl DelegateeSkBuilder {
.is_ok()
}

#[deprecated(note="`pack_session` is deprecated, use `unsigned_delegation` instead")]
#[deprecated(note = "`pack_session` is deprecated, use `unsigned_delegation` instead")]
/// Will be remove in next version
pub fn pack_session(&self) -> String {
pack_session(self.sk.address().into(), self.ts_ms, self.ttl_ms)
}


/// Constuct unsigned_info string for signing.
/// Construct unsigned_info string for signing.
pub fn unsigned_delegation(&self) -> String {
pack_session(self.sk.address().into(), self.ts_ms, self.ttl_ms)
}
Expand Down

0 comments on commit b8240f9

Please sign in to comment.