From 4d9082d33fbb3f274097630d532b6d7744137449 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Mon, 15 Oct 2018 13:14:39 -0400 Subject: [PATCH] Changing text --- app/js/index.js | 2 +- server/main.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/js/index.js b/app/js/index.js index 2425882..6a84847 100644 --- a/app/js/index.js +++ b/app/js/index.js @@ -113,7 +113,7 @@ class App extends React.Component { messageBody =

You will shortly receive some ETH and SNT, just for attending #CryptoLife! Use it to register an ENS Name and buy food.

We hope you have a wonderful time bringing crypto closer to life with us.

break; case "red": - messageTitle = "Shit bro, there was an error"; + messageTitle = "Shit, there was an error"; messageBody =

Please ask a volunteer for help in person.

; break; case "yellow": diff --git a/server/main.js b/server/main.js index 6dac432..525bc99 100644 --- a/server/main.js +++ b/server/main.js @@ -110,8 +110,8 @@ const process = async (request) => { const estimatedGas = await toSend.estimateGas({from: account.address}); const tx = { - gasPrice: web3.utils.toHex(parseInt(gasPrice)), - gasLimit: web3.utils.toHex(estimatedGas + 1000), + gasPrice: parseInt(gasPrice), + gas: estimatedGas + 1000, from: account.address, to: config.contractAddress, value: "0x00",