Skip to content

Commit

Permalink
feat : impl pedersen hash_single
Browse files Browse the repository at this point in the history
  • Loading branch information
varun-doshi committed Jan 10, 2025
1 parent 1c90543 commit 79ebfa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/starknet-types-core/src/hash/pedersen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl StarkHash for Pedersen {
}

fn hash_single(felt: &Felt) -> Felt {
todo!()
Felt(PedersenStarkCurve::hash(&Felt::from(0).0,&felt.0))
}
}

Expand Down

0 comments on commit 79ebfa0

Please sign in to comment.