Skip to content

Commit

Permalink
fix: convert to u256 function fixed
Browse files Browse the repository at this point in the history
mohiiit committed Nov 4, 2024
1 parent 2ce31a6 commit 81ed942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/mod.rs
Original file line number Diff line number Diff line change
@@ -66,7 +66,7 @@ pub async fn wait_for_transaction(
}

pub fn convert_felt_to_u256(felt: Felt) -> U256 {
U256::from_big_endian(&felt.to_bytes_le())
U256::from_big_endian(&felt.to_bytes_be())
}

pub enum JsonValueType {

0 comments on commit 81ed942

Please sign in to comment.