Skip to content

Commit

Permalink
fix(hex): U256::to_lower_hex() padding fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon-Becker committed Dec 11, 2023
1 parent bbf1126 commit bc1bf16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/utils/hex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ impl ToLowerHex for H256 {

impl ToLowerHex for U256 {
fn to_lower_hex(&self) -> String {
format!("{:#032x}", self)
format!("{:#0x}", self)
}
}

Expand Down

0 comments on commit bc1bf16

Please sign in to comment.