Skip to content

Commit

Permalink
bugfix on extract_data
Browse files Browse the repository at this point in the history
  • Loading branch information
ametel01 committed May 29, 2024
1 parent a1f4db5 commit 31aaa92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starknet/src/library/rlp_utils.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ pub fn extract_data(rlp: Words64Sequence, start: usize, size: u64) -> Words64Seq
);
}
} else {
right_part = value_at_end_word;
right_part = BitShift::shr(value_at_end_word, right_shift.into() * 8);
}

let final_word = left_part + right_part;
Expand Down

0 comments on commit 31aaa92

Please sign in to comment.