Skip to content

Commit 796ff18

Browse files
committed
Comments Updated
1 parent 32b9412 commit 796ff18

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contracts/standard/arbitration/MultipleArbitrableTokenTransactionWithFee.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ contract MultipleArbitrableTokenTransactionWithFee is IArbitrable {
6969
/** @dev To be emitted when a fee is received by the feeRecipient in Token.
7070
* @param _transactionID The index of the transaction.
7171
* @param _amount The amount paid.
72-
* @param _token The Token ID
72+
* @param _token The Token Address
7373
*/
7474
event FeeRecipientPaymentInToken(uint indexed _transactionID, uint _amount, ERC20 _token);
7575

@@ -189,7 +189,7 @@ contract MultipleArbitrableTokenTransactionWithFee is IArbitrable {
189189
Transaction storage transaction = transactions[_transactionID];
190190
require(transaction.sender == msg.sender, "The caller must be the sender.");
191191
require(transaction.status == Status.NoDispute, "The transaction shouldn't be disputed.");
192-
require(_amount <= transaction.amount, "The amount paid has to be less or equal than the transaction.");
192+
require(_amount <= transaction.amount, "The amount paid has to be less than or equal to the transaction.");
193193

194194
transaction.amount -= _amount;
195195
uint feeAmount = calculateFeeRecipientAmount(_amount);
@@ -211,7 +211,7 @@ contract MultipleArbitrableTokenTransactionWithFee is IArbitrable {
211211
Transaction storage transaction = transactions[_transactionID];
212212
require(transaction.receiver == msg.sender, "The caller must be the receiver.");
213213
require(transaction.status == Status.NoDispute, "The transaction shouldn't be disputed.");
214-
require(_amountReimbursed <= transaction.amount, "The amount reimbursed has to be less or equal than the transaction.");
214+
require(_amountReimbursed <= transaction.amount, "The amount reimbursed has to be less than or equal to the transaction.");
215215

216216
transaction.amount -= _amountReimbursed;
217217
require(transaction.token.transfer(transaction.sender, _amountReimbursed), "The `transfer` function must not fail.");

0 commit comments

Comments
 (0)