-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
in createPayout
gif-contracts/contracts/modules/PolicyController.sol
Lines 389 to 394 in b58fd27
| function createPayout( | |
| bytes32 processId, | |
| uint256 claimId, | |
| uint256 payoutAmount, | |
| bytes calldata data | |
| ) |
Implementation does not limits number of payouts per claim nor limits their cumulative payoutAmount.
In this situation it is possible to create any number of payouts with their cumulative payoutAmount exceeding claim.claimAmount and then process them. In this case claim.paidAmount > claim.claimAmount and claim will refuse to close.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels