Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make sure all the zeros are there
  • Loading branch information
maciejhirsz committed Aug 9, 2018
commit 102266b2f939898938bb8352e55b8f10da8be76f
2 changes: 1 addition & 1 deletion substrate/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ impl<Components> Service<Components>
let mut pubkey = String::new();

for ch in public_key.as_slice() {
write!(pubkey, "{:x}", ch).expect("Cannot fail on u8 slices; qed");
write!(pubkey, "{:02x}", ch).expect("Cannot fail on u8 slices; qed");
}

let name = config.name.clone();
Expand Down