The use of bytes.concat() in calculating the leaf node is more expensive than necessary.
Slither & Aderyn
You can optimize the leaf calculation in the claim function by replacing bytes.concat(keccak256(abi.encode(account, amount))) with keccak256(abi.encodePacked(account, amount)), which is more gas-efficient.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.