Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
fixed conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjsingh07 committed Sep 6, 2023
1 parent d9b4511 commit 94b139c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions programs/bpf_loader/src/syscalls/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,10 +311,10 @@ pub fn create_program_runtime_environment_v1<'a>(
)?;

// Sha256
result.register_function(*b"sol_sha256", SyscallHash::call::<Sha256Hasher>)?;
result.register_function_hashed(*b"sol_sha256", SyscallHash::call::<Sha256Hasher>)?;

// Keccak256
result.register_function(*b"sol_keccak256", SyscallHash::call::<Keccak256Hasher>)?;
result.register_function_hashed(*b"sol_keccak256", SyscallHash::call::<Keccak256Hasher>)?;

// Secp256k1 Recover
result.register_function_hashed(*b"sol_secp256k1_recover", SyscallSecp256k1Recover::call)?;
Expand Down

0 comments on commit 94b139c

Please sign in to comment.