Skip to content

Commit

Permalink
fix: bind
Browse files Browse the repository at this point in the history
  • Loading branch information
CanvasL committed Sep 27, 2024
1 parent 170ecb9 commit 2409b63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/puppet/programs/puppet/src/instructions/bind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use crate::errors::ErrorCode;
use crate::state::{DeviceBinding, DeviceCollectionBinding, MplBinding, MplCollectionBinding};
use anchor_lang::prelude::*;
use anchor_spl::{
associated_token::{AssociatedToken, get_associated_token_address_with_program_id},
associated_token::get_associated_token_address_with_program_id,
metadata::MetadataAccount,
token_interface::TokenAccount,
};
Expand Down Expand Up @@ -101,7 +101,7 @@ pub fn bind(ctx: Context<Bind>, params: BindParams) -> Result<()> {
}

device_binding.mpl_ata = params.mpl_ata;
mpl_binding.device_ata = params.device;
mpl_binding.device_ata = device_ata;

Ok(())
}

0 comments on commit 2409b63

Please sign in to comment.