Commit ac3fe778 authored by Thibaut Sardan's avatar Thibaut Sardan Committed by Amaury Martiny
Browse files

fix(): convert the gasPrice in Gwei (#473)

parent 489e5383
Pipeline #33584 passed with stages
in 10 minutes and 12 seconds
......@@ -131,7 +131,7 @@ const getEthereumTx = tx => {
const txParams = {
nonce: '0x' + transactionCount.toNumber().toString(16),
gasLimit: '0x' + gas.toNumber().toString(16),
gasPrice,
gasPrice: toWei(gasPrice, 'shannon').toNumber(),
chainId
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment