Skip to content

Commit

Permalink
set fields of ClaimCertificate to public for third-party usage (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
bonedaddy authored Dec 4, 2023
1 parent 4472d2d commit f13333b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions token-dispenser/programs/token-dispenser/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,9 @@ pub enum IdentityCertificate {

#[derive(AnchorDeserialize, AnchorSerialize, Clone)]
pub struct ClaimCertificate {
amount: u64,
proof_of_identity: IdentityCertificate,
proof_of_inclusion: MerklePath<SolanaHasher>, // Proof that the leaf is in the tree
pub amount: u64,
pub proof_of_identity: IdentityCertificate,
pub proof_of_inclusion: MerklePath<SolanaHasher>, // Proof that the leaf is in the tree
}

////////////////////////////////////////////////////////////////////////////////
Expand Down

1 comment on commit f13333b

@vercel
Copy link

@vercel vercel bot commented on f13333b Dec 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.