From 79103f743e3ff143bb170022842f1d564a456bc9 Mon Sep 17 00:00:00 2001 From: Iamsohungrynow <261225237+Iamsohungrynow@users.noreply.github.com> Date: Sat, 31 Oct 2026 15:12:26 +0800 Subject: [PATCH] docs(merkle-tree-token-claimer): point the padding comment at the Rust generator --- .../anchor/programs/merkle-tree-token-claimer/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokens/merkle-tree-token-claimer/anchor/programs/merkle-tree-token-claimer/src/lib.rs b/tokens/merkle-tree-token-claimer/anchor/programs/merkle-tree-token-claimer/src/lib.rs index a82dcc3ae..99ee8155f 100644 --- a/tokens/merkle-tree-token-claimer/anchor/programs/merkle-tree-token-claimer/src/lib.rs +++ b/tokens/merkle-tree-token-claimer/anchor/programs/merkle-tree-token-claimer/src/lib.rs @@ -235,7 +235,7 @@ pub enum ClaimError { InvalidAmount, } -// The tree builder must pad odd levels with a zero hash (see scripts/merkle.ts): +// The tree builder must pad odd levels with a zero hash (see examples/generate_merkle_tree.rs): // duplicating the last node instead would make its parent sha256(C || C), which // verifies at two indices and therefore two receipt PDAs. fn compute_merkle_root(leaf: &[u8], hashes: &[u8], mut index: u64) -> Result<[u8; 32]> {