Skip to content

Commit 81e06fa

Browse files
committed
Comment Updated in Escrow
1 parent 0ef8ecc commit 81e06fa

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

contracts/standard/arbitration/MultipleArbitrableTokenTransaction.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ contract MultipleArbitrableTokenTransaction is IArbitrable {
367367
uint splitArbitrationFee = senderFee / 2;
368368
transaction.receiver.send(splitArbitrationFee);
369369
transaction.sender.send(splitArbitrationFee);
370+
// Tokens should not reenter or allow recipients to refuse the transfer.
370371
// In the case of an uneven token amount, one basic token unit can be burnt.
371372
require(transaction.token.transfer(transaction.receiver, amount / 2), "The `transfer` function must not fail.");
372373
require(transaction.token.transfer(transaction.sender, amount / 2), "The `transfer` function must not fail.");

contracts/standard/arbitration/MultipleArbitrableTokenTransactionWithFee.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ contract MultipleArbitrableTokenTransactionWithFee is IArbitrable {
193193

194194
transaction.amount -= _amount;
195195
uint feeAmount = calculateFeeRecipientAmount(_amount);
196-
197-
// Tokens should not reenter or allow recipients to refuse the transfer.
196+
197+
// Tokens should not reenter or allow recipients to refuse the transfer.
198198
transaction.token.transfer(feeRecipient, feeAmount); // It is the responsibility of the feeRecipient to accept Token.
199199
require(transaction.token.transfer(transaction.receiver, _amount - feeAmount), "The `transfer` function must not fail.");
200200

0 commit comments

Comments
 (0)