Skip to content

Commit 70797ba

Browse files
committed
Fix discriminator value
1 parent 82fa3b5 commit 70797ba

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

p-interface/src/instruction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ pub enum TokenInstruction {
511511
/// Data expected by this instruction:
512512
///
513513
/// - `u64` The amount of lamports to transfer.
514-
UnwrapLamports,
514+
UnwrapLamports = 45,
515515

516516
/// Executes a batch of instructions. The instructions to be executed are
517517
/// specified in sequence on the instruction data. Each instruction

p-token/src/entrypoint.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,8 +473,8 @@ fn inner_process_remaining_instruction(
473473

474474
process_withdraw_excess_lamports(accounts)
475475
}
476-
// 39 - UnwrapLamports
477-
39 => {
476+
// 45 - UnwrapLamports
477+
45 => {
478478
#[cfg(feature = "logging")]
479479
pinocchio::msg!("Instruction: UnwrapLamports");
480480

0 commit comments

Comments
 (0)