Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 8ad746e

Browse files
committed
construct supply account info from ref to extension
1 parent 3a14e2e commit 8ad746e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

token/program-2022/src/extension/confidential_mint_burn/account_info.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub struct SupplyAccountInfo {
3030
impl SupplyAccountInfo {
3131
/// Creates a SupplyAccountInfo from ConfidentialMintBurn extension account
3232
/// data
33-
pub fn new(extension: ConfidentialMintBurn) -> Self {
33+
pub fn new(extension: &ConfidentialMintBurn) -> Self {
3434
Self {
3535
current_supply: extension.confidential_supply,
3636
decryptable_supply: extension.decryptable_supply,

0 commit comments

Comments
 (0)