Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jpgonzalezra committed Aug 9, 2019
1 parent 05364eb commit 3be4b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/ConverterRamp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ contract ConverterRamp is Ownable {
uint256 prevEthBalance = (address(this).balance).sub(msg.value);

/// call convert in token converter
tokenConverter.convert.value(msg.value)(fromToken, toToken, _amount, _tokenCost, _etherCost);
tokenConverter.convert.value(_amount)(fromToken, toToken, _amount, _tokenCost, _etherCost);

/// Return leftover eth
uint256 surplus = (address(this).balance).sub(prevEthBalance);
Expand Down

0 comments on commit 3be4b97

Please sign in to comment.