Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

Commit

Permalink
resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
krboktv committed Feb 17, 2019
1 parent 9769309 commit 3154347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/js/blockchain.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async function signTransaction(privateKey, to, value, data, gas = []) {
from: addresses[i],
data: data,
gasPrice: tbn(await web3.eth.getGasPrice()).times(1.3).integerValue().toNumber() ? tbn(await web3.eth.getGasPrice()).times(1.3).integerValue().toNumber() : 210000000,
gas: gas[i] ? gas[i] : 21000
gas: gas[i] ? gas[i] : 56000
};
const tx = new ethereumjs.Tx(txParam);
const privateKeyBuffer = ethereumjs.Buffer.Buffer.from(_privateKeys[i].substring(2), 'hex');
Expand Down

0 comments on commit 3154347

Please sign in to comment.