Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
realbigsean committed Apr 23, 2024
1 parent a91b321 commit 8aa1b77
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion consensus/types/src/config_and_preset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ impl ConfigAndPreset {
/// Get a hashmap of constants to add to the `PresetAndConfig`
pub fn get_extra_fields(spec: &ChainSpec) -> HashMap<String, Value> {
let hex_string = |value: &[u8]| format!("0x{}", hex::encode(value)).into();
let u64_hex = |v: u64| hex_string(&v.to_le_bytes());
let u32_hex = |v: u32| hex_string(&v.to_le_bytes());
let u8_hex = |v: u8| hex_string(&v.to_le_bytes());
hashmap! {
Expand Down

0 comments on commit 8aa1b77

Please sign in to comment.