Skip to content

Commit

Permalink
docs(escrow): @ferittuncer review
Browse files Browse the repository at this point in the history
  • Loading branch information
n1c01a5 committed Dec 25, 2018
1 parent 1bee8e1 commit 7923cdb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @authors: [@eburgos, @n1c01a5]
* @reviewers: [@unknownunknown1*, @clesaege*, @ferittuncer]
* @reviewers: [@unknownunknown1*, @clesaege*, @ferittuncer*]
* @auditors: []
* @bounties: []
* @deployments: []
Expand Down Expand Up @@ -137,8 +137,8 @@ contract MultipleArbitrableTransaction {
function pay(uint _transactionID, uint _amount) public {
Transaction storage transaction = transactions[_transactionID];
require(transaction.buyer == msg.sender, "The caller must be the buyer.");
require(transaction.status == Status.NoDispute, "The transaction can't be disputed.");
require(_amount <= transaction.amount, "The amount paid has to be less than the transaction.");
require(transaction.status == Status.NoDispute, "There is no dispute on this transaction that's arbitration fee to be paid.");
require(_amount <= transaction.amount, "The amount paid has to be less than or equal to the transaction.");

transaction.seller.transfer(_amount);
transaction.amount -= _amount;
Expand Down

0 comments on commit 7923cdb

Please sign in to comment.