Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
fether
Commits
ac3fe778
Commit
ac3fe778
authored
Mar 22, 2019
by
Thibaut Sardan
Committed by
Amaury Martiny
Mar 22, 2019
Browse files
fix(): convert the gasPrice in Gwei (#473)
parent
489e5383
Pipeline
#33584
passed with stages
in 10 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
packages/fether-react/src/utils/transaction.js
View file @
ac3fe778
...
...
@@ -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
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment