Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
TAdev0 committed Aug 13, 2024
1 parent 953a8df commit 1997190
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/utils.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ pub impl HashImpl of HashTrait {
impl HashDisplay of Display<Hash> {
fn fmt(self: @Hash, ref f: Formatter) -> Result<(), Error> {
let hash: u256 = (*self).into();
let base: u256 = 16;

hash.append_formatted_to_byte_array(ref f.buffer, base.try_into().unwrap());
hash.append_formatted_to_byte_array(ref f.buffer, 16);
Result::Ok(())
}
}
Expand Down

0 comments on commit 1997190

Please sign in to comment.