Skip to content

Commit

Permalink
Fix require message content (ETH->Token)
Browse files Browse the repository at this point in the history
  • Loading branch information
ed authored and ed committed Jun 29, 2019
1 parent b91efd7 commit 0e6ba59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion truffle/contracts/RealitioERC20.sol
Expand Up @@ -340,7 +340,7 @@ contract RealitioERC20 is BalanceHolder {
// This would allow more sophisticated pricing, question whitelisting etc.
if (msg.sender != arbitrator) {
uint256 question_fee = arbitrator_question_fees[arbitrator];
require(bounty >= question_fee, "ETH provided must cover question fee");
require(bounty >= question_fee, "Tokens provided must cover question fee");
bounty = bounty.sub(question_fee);
balanceOf[arbitrator] = balanceOf[arbitrator].add(question_fee);
}
Expand Down

0 comments on commit 0e6ba59

Please sign in to comment.