We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ec3af2 commit a1acd19Copy full SHA for a1acd19
contracts/finance/VestingWalletConfidential.sol
@@ -78,7 +78,7 @@ abstract contract VestingWalletConfidential is OwnableUpgradeable, ReentrancyGua
78
FHE.allowTransient(amount, token);
79
euint64 amountSent = IConfidentialFungibleToken(token).confidentialTransfer(owner(), amount);
80
81
- // This could overflow if the total supply is resent `type(uint128).max/types(uint64).max` times. This is an accepted risk.
+ // This could overflow if the total supply is resent `type(uint128).max/type(uint64).max` times. This is an accepted risk.
82
euint128 newReleasedAmount = FHE.add(released(token), amountSent);
83
FHE.allow(newReleasedAmount, owner());
84
FHE.allowThis(newReleasedAmount);
0 commit comments