Skip to content

Commit

Permalink
use base58 instead of base64
Browse files Browse the repository at this point in the history
  • Loading branch information
kmd-fl committed Feb 2, 2024
1 parent 3e97087 commit f14387d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion aquamarine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ tracing = { workspace = true }
serde_json = { workspace = true }
parking_lot = { workspace = true }
chrono = "0.4.31"
hex = { workspace = true }
bs58 = { workspace = true }
thiserror = { workspace = true }
humantime = "2.1.0"
anyhow = "1.0.79"
Expand Down
2 changes: 1 addition & 1 deletion aquamarine/src/particle_data_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ fn store_key_from_components(particle_id: &str, current_peer_id: &str, signature
}

fn format_signature(signature: &[u8]) -> String {
hex::encode(signature)
bs58::encode(signature).into_string()
}

#[cfg(test)]
Expand Down

0 comments on commit f14387d

Please sign in to comment.