Skip to content

Commit

Permalink
Display Id types as base64 instead of hex
Browse files Browse the repository at this point in the history
  • Loading branch information
mendess committed Oct 10, 2024
1 parent 5441b0e commit 8a94245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/daphne/src/messages/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ macro_rules! id_struct {

impl fmt::Display for $sname {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "{}", self.to_hex())
write!(f, "{}", self.to_base64url())
}
}

Expand Down

0 comments on commit 8a94245

Please sign in to comment.