Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
enitrat committed Oct 2, 2024
1 parent 32ef57e commit dbab69a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions crates/utils/src/traits/bytes.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,6 @@ pub impl ToBytesImpl<
fn to_be_bytes(self: T) -> Span<u8> {
// U8 type is handled in another impl.
let be_bytes = to_be_bytes_recursive(self);
if be_bytes.is_empty() {
return [0].span();
}
be_bytes.span()
}

Expand Down

0 comments on commit dbab69a

Please sign in to comment.