Skip to content

Commit

Permalink
Remove unnecessary account (#1112)
Browse files Browse the repository at this point in the history
  • Loading branch information
febo authored Jun 20, 2023
1 parent 0c082d2 commit dfa3733
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions token-metadata/program/src/processor/delegate/revoke.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,11 +295,7 @@ fn revoke_persistent_delegate_v1(
ctx.accounts.authority_info.key,
&[],
)?,
&[
token_info.clone(),
ctx.accounts.delegate_info.clone(),
ctx.accounts.authority_info.clone(),
],
&[token_info.clone(), ctx.accounts.authority_info.clone()],
)?;

if matches!(
Expand Down

0 comments on commit dfa3733

Please sign in to comment.