Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagofneto committed Oct 24, 2023
1 parent a0871bf commit 9df8908
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/types/words64.cairo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use cairo_lib::utils::bitwise::{left_shift, right_shift};
use cairo_lib::utils::bitwise::left_shift;

// @notice Represents a span of 64 bit words
// @dev In many cases it's expected that the words are in little endian, but the overall order is big endian
Expand Down Expand Up @@ -30,7 +30,7 @@ impl Words64TryIntoU256LE of TryInto<Words64, u256> {
}

// left shift and add
output = output | (*self.at(i)).into() * *pows.at(i - 1);
output = output | ((*self.at(i)).into() * *pows.at(i - 1));

i += 1;
}
Expand Down

0 comments on commit 9df8908

Please sign in to comment.