File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
contracts/standard/arbitration Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol";
2020 * This version of the contract made for ERC-20 tokens support.
2121 * NOTE: This contract trusts that the Arbitrator is honest and will not reenter or modify its costs during a call.
2222 * The arbitrator must support appeal period.
23+ * Also note that this contract trusts that the token transfers will not be blocked by the recepient.
2324 */
2425contract LinguoToken is Arbitrable {
2526
@@ -523,8 +524,6 @@ contract LinguoToken is Arbitrable {
523524 sumDeposit = sumDeposit / 2 ;
524525 task.parties[uint (Party.Translator)].send (sumDeposit);
525526 task.parties[uint (Party.Challenger)].send (sumDeposit);
526- // When using a token of the advanced standard (ERC777 etc) the requester can revert this function and prevent fee reimbursement.
527- // This is not an issue however, because "0" ruling is an edge case.
528527 require (task.token.transfer (task.requester, requesterDeposit), "Could not transfer tokens to requester. " );
529528 } else if (_ruling == uint (Party.Translator)) {
530529 task.parties[uint (Party.Translator)].send (sumDeposit);
You can’t perform that action at this time.
0 commit comments