diff --git a/src/contracts/escrow_library.cairo b/src/contracts/escrow_library.cairo index 137fc6e..a1e6945 100644 --- a/src/contracts/escrow_library.cairo +++ b/src/contracts/escrow_library.cairo @@ -193,7 +193,6 @@ mod EscrowLibrary { } fn transfer_from_account(token: ContractAddress, receiver: ContractAddress, amount: u256,) { - // Not tested assert(IERC20Dispatcher { contract_address: token }.transfer(receiver, amount), 'escr-lib/transfer-failed'); } diff --git a/src/contracts/gift_factory.cairo b/src/contracts/gift_factory.cairo index 522b9e5..2e5806e 100644 --- a/src/contracts/gift_factory.cairo +++ b/src/contracts/gift_factory.cairo @@ -181,7 +181,6 @@ mod GiftFactory { if (gift_token == fee_token) { let transfer_status = IERC20Dispatcher { contract_address: gift_token } .transfer_from(get_caller_address(), escrow_contract, gift_amount + fee_amount.into()); - // Not tested assert(transfer_status, 'gift-fac/transfer-failed'); } else { let transfer_gift_status = IERC20Dispatcher { contract_address: gift_token } @@ -189,7 +188,6 @@ mod GiftFactory { assert(transfer_gift_status, 'gift-fac/transfer-gift-failed'); let transfer_fee_status = IERC20Dispatcher { contract_address: fee_token } .transfer_from(get_caller_address(), escrow_contract, fee_amount.into()); - // Not tested assert(transfer_fee_status, 'gift-fac/transfer-fee-failed'); } }