Skip to content

Commit

Permalink
https://github.com/gitcoinco/web/issues/776#issuecomment-378422355
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed Apr 3, 2018
1 parent 51a4c52 commit e82624d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/assets/yge/youvegoteth/send.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ window.onload = function() {
token_contract(token).approve.sendTransaction(
contract_address(),
approve_amount,
{from: fromAccount, gas: gas, gasLimit: gasLimit},
{from: fromAccount, gas: web3.toHex(gas), gasLimit: web3.toHex(gasLimit)},
final_callback);
});
}
Expand Down Expand Up @@ -312,7 +312,7 @@ window.onload = function() {
gas: web3.toHex(_gas),
gasPrice: web3.toHex(defaultGasPrice),
value: amountETHToSend,
gasLimit: _gasLimit},
gasLimit: web3.toHex(_gasLimit)},
next_callback);
};

Expand Down

0 comments on commit e82624d

Please sign in to comment.