Skip to content

Commit

Permalink
Dont update deal sponsored amount in storage
Browse files Browse the repository at this point in the history
  • Loading branch information
zguesmi committed May 29, 2024
1 parent 8c9e07c commit 7a156ed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion contracts/beacon/Voucher.sol
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ contract Voucher is OwnableUpgradeable, IVoucher {
// If the voucher did fully/partially sponsor the deal then mint voucher
// credits back.
voucherHub.refundVoucher(taskSponsoredAmount);
$._sponsoredAmounts[dealId] = dealSponsoredAmount - taskSponsoredAmount;
}
if (taskSponsoredAmount < taskPrice) {
// If the deal was not sponsored or partially sponsored
Expand Down

0 comments on commit 7a156ed

Please sign in to comment.