Skip to content

Commit

Permalink
fix NunyaBusiness so it compiles
Browse files Browse the repository at this point in the history
  • Loading branch information
ltfschoen committed Oct 16, 2024
1 parent 0bf4229 commit 2de17de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hardhat/contracts/NunyaBusiness.sol
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ contract NunyaBusiness {
// Token claimedPayment = parse(_valueJson);
// require (msg.value === claimedPayment, "incorrect payment value - ensure _valueJson is in the format {amount: paymentAmount, ... } and that msg.value == paymentAmount exactly.");

uint256 requestId = secretContract.pay(_secret, _ref, msg.value - gasPaid, _denomination);
uint256 requestId = secretContract.pay(_valueJson, _ref, msg.value - gasPaid, _denomination);
expectedResult[requestId] = FunctionCallType.PAY;
return(requestId);
}
Expand Down

0 comments on commit 2de17de

Please sign in to comment.