Skip to content

Commit

Permalink
merge(fix): #152
Browse files Browse the repository at this point in the history
Avoid arbitrator to change ruling.
  • Loading branch information
epiqueras authored Oct 22, 2018
2 parents fb8a7eb + be502ba commit cd96151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/standard/arbitration/AppealableArbitrator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ contract AppealableArbitrator is CentralizedArbitrator, Arbitrable {
require(msg.sender == owner, "Not appealed disputes must be ruled by the owner.");
if (disputes[_disputeID].status == DisputeStatus.Appealable) {
if (now - appealDisputes[_disputeID].rulingTime > timeOut)
super._giveRuling(_disputeID, _ruling);
super._giveRuling(_disputeID, disputes[_disputeID].ruling);
else revert("Time out time has not passed yet.");
} else {
disputes[_disputeID].ruling = _ruling;
Expand Down

0 comments on commit cd96151

Please sign in to comment.