Skip to content

Commit 201a27b

Browse files
committed
last minute docs
1 parent 8be4ab1 commit 201a27b

File tree

1 file changed

+4
-0
lines changed
  • programs/merkle-distributor/src

1 file changed

+4
-0
lines changed

programs/merkle-distributor/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ pub struct MerkleDistributor {
221221
pub num_nodes_claimed: u64,
222222
}
223223

224+
/// Holds whether or not a claimant has claimed tokens.
225+
///
226+
/// TODO: this is probably better stored as the node that was verified.
224227
#[account]
225228
#[derive(Default)]
226229
pub struct ClaimStatus {
@@ -245,6 +248,7 @@ pub struct ClaimedEvent {
245248
pub amount: u64,
246249
}
247250

251+
/// Error codes.
248252
#[error]
249253
pub enum ErrorCode {
250254
#[msg("Invalid Merkle proof.")]

0 commit comments

Comments
 (0)