Skip to content

Commit

Permalink
Removed payable from refund
Browse files Browse the repository at this point in the history
  • Loading branch information
stanacton committed Oct 13, 2017
1 parent 83eb017 commit 6795468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dapp/public/address.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"PreICO":{"address":"0xdfa2231965a56156d1b181bc8337e4a8009f38d3"},"DevBank":{"address":"0xdd1a3b97e8064251cfc043a3533c9595276aa53f"}}
{"PreICO":{"address":"0x07ecd785d319205ffdd9c9a295c716dbfb594355"},"DevBank":{"address":"0xe9a4a5eb8a428a1c530e9e9cbc56bd6db0f46eb5"}}
2 changes: 1 addition & 1 deletion src/truffle/contracts/PreICO.sol
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ contract PreICO is WhitelistPauseableToken {
ethBalance += msg.value;
}

function refund(address refundAccount, uint ethAmount, uint tokens) onlyOwner payable returns (bool) {
function refund(address refundAccount, uint ethAmount, uint tokens) onlyOwner returns (bool) {
require(refundAccount != address(0));
require(this.balance >= ethAmount);
require(balances[refundAccount] >= tokens);
Expand Down

0 comments on commit 6795468

Please sign in to comment.