From 248e7f29099f9720d68f414ecdd4d87d98a461c7 Mon Sep 17 00:00:00 2001 From: gfournieriExec <100280020+gfournieriExec@users.noreply.github.com> Date: Mon, 10 Jun 2024 15:11:07 +0200 Subject: [PATCH] Update contracts/VoucherHub.sol Co-authored-by: Zied Guesmi <26070035+zguesmi@users.noreply.github.com> --- contracts/VoucherHub.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/VoucherHub.sol b/contracts/VoucherHub.sol index 3f1a732..4348065 100644 --- a/contracts/VoucherHub.sol +++ b/contracts/VoucherHub.sol @@ -172,8 +172,8 @@ contract VoucherHub is // The proxy contract does a delegatecall to its implementation. // Re-Entrancy safe because the target contract is controlled. Voucher(voucherAddress).initialize(owner, address(this), expiration, voucherType); + // SRLC if (!IERC20($._iexecPoco).transfer(voucherAddress, value)) { - // SRLC revert("VoucherHub: SRLC transfer to voucher failed"); } _mint(voucherAddress, value); // VCHR