diff --git a/noir_stdlib/src/hash.nr b/noir_stdlib/src/hash.nr index e73611be70d..f4a1ec7c599 100644 --- a/noir_stdlib/src/hash.nr +++ b/noir_stdlib/src/hash.nr @@ -20,13 +20,6 @@ pub fn pedersen_hash(input : [Field; N]) -> Field { #[foreign(pedersen_hash)] pub fn pedersen_hash_with_separator(_input : [Field; N], _separator : u32) -> Field {} -pub fn pedersen_hash(input : [Field; N]) -> Field { - pedersen_hash_with_separator(input, 0) -} - -#[foreign(pedersen_hash)] -pub fn pedersen_hash_with_separator(_input : [Field; N], _separator : u32) -> Field {} - #[foreign(hash_to_field_128_security)] pub fn hash_to_field(_input : [Field; N]) -> Field {} diff --git a/noir_stdlib/src/lib.nr b/noir_stdlib/src/lib.nr index 2e34c017db6..e6b56d29542 100644 --- a/noir_stdlib/src/lib.nr +++ b/noir_stdlib/src/lib.nr @@ -63,4 +63,4 @@ pub fn wrapping_mul(x : T, y: T) -> T { /// Shift-left x by y bits /// If the result overflow the bitsize; it does not fail and returns 0 instead #[builtin(wrapping_shift_left)] -pub fn wrapping_shift_left(x : T, y: T) -> T {} +pub fn wrapping_shift_left(_x : T, _y: T) -> T {}