Skip to content

Commit

Permalink
Merge branch 'dev' into misspelling
Browse files Browse the repository at this point in the history
  • Loading branch information
erickyan86 committed Sep 2, 2019
2 parents d4244d8 + 7e20240 commit 4873b88
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 33 deletions.
2 changes: 1 addition & 1 deletion processor/vm/runtime/contract/Ven/VEN.bin

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions processor/vm/runtime/contract/Ven/VEN.sol
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ contract VENSale is Owned{
if (requested > 0) {
ven.mint(msg.sender, requested, true, blockTime());
// transfer ETH to vault
ethVault.transfer(ethCost);
ethVault.transfer(ethCost, msg.assetid);

soldOut.official = requested.add(soldOut.official).toUINT120();
onSold(msg.sender, requested, ethCost);
Expand All @@ -498,7 +498,7 @@ contract VENSale is Owned{
uint256 toReturn = msg.value.sub(ethCost);
if(toReturn > 0) {
// return over payed ETH
msg.sender.transfer(toReturn);
msg.sender.transfer(toReturn, msg.assetid);
}
}

Expand Down

0 comments on commit 4873b88

Please sign in to comment.