Skip to content

Commit

Permalink
fix(t2cr): create a new round on dispute creation
Browse files Browse the repository at this point in the history
  • Loading branch information
eccentricexit committed Nov 22, 2018
1 parent 4961f4d commit d5484b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contracts/standard/permission/ArbitrableTokenList.sol
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@ contract ArbitrableTokenList is PermissionInterface, Arbitrable {
request.disputeID = arbitrator.createDispute.value(arbitrationCost)(2, arbitratorExtraData);
disputeIDToTokenID[request.disputeID] = _tokenID;
request.disputed = true;
request.rounds.length++;

emit TokenStatusChange(
request.parties[uint(Party.Requester)],
request.parties[uint(Party.Challenger)],
Expand Down Expand Up @@ -319,6 +321,8 @@ contract ArbitrableTokenList is PermissionInterface, Arbitrable {
request.disputeID = arbitrator.createDispute.value(arbitrationCost)(2, arbitratorExtraData);
disputeIDToTokenID[request.disputeID] = _tokenID;
request.disputed = true;
request.rounds.length++;

emit TokenStatusChange(
request.parties[uint(Party.Requester)],
request.parties[uint(Party.Challenger)],
Expand Down

0 comments on commit d5484b1

Please sign in to comment.