Skip to content

Commit

Permalink
Merge pull request #52 from SoftDAO/fix-issue-11-continued-2
Browse files Browse the repository at this point in the history
 fix for claim in PACVM
  • Loading branch information
ArshaanB committed Jul 24, 2024
2 parents 1873821 + 4317cb5 commit 14f74a8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ contract PerAddressContinuousVestingMerkle is PerAddressContinuousVesting, Merkl
validMerkleProof(keccak256(abi.encodePacked(index, beneficiary, totalAmount, start, cliff, end)), merkleProof)
nonReentrant
{
bytes memory data = abi.encode(start, cliff, end);
// effects
uint256 claimedAmount = _executeClaim(beneficiary, totalAmount, new bytes(0));
uint256 claimedAmount = _executeClaim(beneficiary, totalAmount, data);
// interactions
_settleClaim(beneficiary, claimedAmount);
}
Expand Down

0 comments on commit 14f74a8

Please sign in to comment.