Skip to content

Commit

Permalink
construct supply account info from ref to extension
Browse files Browse the repository at this point in the history
  • Loading branch information
abcalphabet committed Oct 8, 2024
1 parent 3a14e2e commit 8ad746e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub struct SupplyAccountInfo {
impl SupplyAccountInfo {
/// Creates a SupplyAccountInfo from ConfidentialMintBurn extension account
/// data
pub fn new(extension: ConfidentialMintBurn) -> Self {
pub fn new(extension: &ConfidentialMintBurn) -> Self {
Self {
current_supply: extension.confidential_supply,
decryptable_supply: extension.decryptable_supply,
Expand Down

0 comments on commit 8ad746e

Please sign in to comment.