Skip to content

Commit

Permalink
chore(kleros-governor): fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
0xferit committed May 10, 2020
1 parent 957073e commit 65b84b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/kleros/KlerosGovernor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ contract KlerosGovernor is Arbitrable {
function withdrawTransactionList(uint _submissionID, bytes32 _listHash) public {
Session storage session = sessions[sessions.length - 1];
Submission storage submission = submissions[session.submittedLists[_submissionID]];
require(now - lastApprovalTime <= submissionTimeout / 2, "Lists can be withdrawn only in the first half of the initial submission period.");
require(now - lastApprovalTime <= submissionTimeout / 2, "Lists can be withdrawn only in the first half of the period.");
// This require statement is an extra check to prevent _submissionID linking to the wrong list because of index swap during withdrawal.
require(submission.listHash == _listHash, "Provided hash doesn't correspond with submission ID.");
require(submission.submitter == msg.sender, "Can't withdraw the list created by someone else.");
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kleros/kleros",
"version": "0.1.4",
"version": "0.1.5",
"description": "Kleros core smart contracts.",
"keywords": [
"blockchain",
Expand Down

0 comments on commit 65b84b9

Please sign in to comment.