Skip to content

Commit

Permalink
fix(t2cr): no need to multiply, just send the whole balance
Browse files Browse the repository at this point in the history
  • Loading branch information
eccentricexit committed Nov 23, 2018
1 parent 643dada commit 60cb9b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/standard/permission/ArbitrableTokenList.sol
Original file line number Diff line number Diff line change
Expand Up @@ -572,9 +572,9 @@ contract ArbitrableTokenList is PermissionInterface, Arbitrable {
// Send token balance.
// Deliberate use of send in order to not block the contract in case of reverting fallback.
if(winner == Party.Challenger)
request.parties[uint(Party.Challenger)].send(request.challengeReward * 2);
request.parties[uint(Party.Challenger)].send(request.challengeRewardBalance);
else
request.parties[uint(Party.Requester)].send(request.challengeReward * 2);
request.parties[uint(Party.Requester)].send(request.challengeRewardBalance);

token.lastAction = now;
request.challengeRewardBalance = 0;
Expand Down

0 comments on commit 60cb9b8

Please sign in to comment.