diff --git a/contracts/VoucherHub.sol b/contracts/VoucherHub.sol index b9c41a7..c58d548 100644 --- a/contracts/VoucherHub.sol +++ b/contracts/VoucherHub.sol @@ -232,7 +232,6 @@ contract VoucherHub is * @param amount value to be refunded */ function refundVoucher(uint256 amount) external onlyVoucher { - // TODO ?? check if balanceOf(msg.sender) + amount < initialBalance _mint(msg.sender, amount); emit VoucherRefunded(msg.sender, amount); }