Skip to content

Commit af18849

Browse files
amend claimId for newPayout
1 parent b1d545f commit af18849

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

contracts/components/Product.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,13 +196,14 @@ abstract contract Product is
196196

197197
function _newPayout(
198198
bytes32 processId,
199+
uint256 claimId,
199200
uint256 amount,
200201
bytes memory data
201202
)
202203
internal
203204
returns(uint256 payoutId)
204205
{
205-
payoutId = _productService.newPayout(processId, amount, data);
206+
payoutId = _productService.newPayout(processId, claimId, amount, data);
206207
}
207208

208209
function _processPayout(

contracts/services/IProductService.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ interface IProductService {
4242

4343
function newPayout(
4444
bytes32 processId,
45+
uint256 claimId,
4546
uint256 amount,
4647
bytes calldata data
4748
) external returns(uint256 payoutId);

0 commit comments

Comments
 (0)