Skip to content
RED SAGSkills
hard20 pts · first answer countssmart-contract-securitycryptographymerkle

Merkle leaves that look like nodes

An airdrop builds leaves as keccak256(abi.encodePacked(account, amount)) and verifies proofs with standard sorted-pair hashing. Why does OpenZeppelin recommend hashing the leaf twice?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions