Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Lightprotocol/light-protocol
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 14f15547628bb0983adf6ce13032fdd30cab706f
Choose a base ref
..
head repository: Lightprotocol/light-protocol
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9e08a0b74f4df6c307d4105a8ca08ecfb971a641
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/token-escrow/programs/token-escrow/src/escrow_with_compressed_pda/escrow.rs
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ use light_compressed_token::{
};
use light_hasher::{errors::HasherError, DataHasher, Hasher, Poseidon};
use light_sdk::{
light_accounts, utils::create_cpi_inputs_for_new_address, verify::verify, LightTraits,
light_accounts, utils::create_cpi_inputs_for_new_account, verify::verify, LightTraits,
};
use light_system_program::{
invoke::processor::CompressedProof,
@@ -117,7 +117,7 @@ fn cpi_compressed_pda_transfer<'info>(
let signer_seeds = [&b"escrow"[..], &signer_key_bytes[..], bump_seed];
cpi_context.first_set_context = false;
// Create inputs struct
let inputs_struct = create_cpi_inputs_for_new_address(
let inputs_struct = create_cpi_inputs_for_new_account(
proof,
new_address_params,
compressed_pda,