Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
5e902070
Commit
5e902070
authored
Jan 15, 2020
by
yann300
Committed by
Aniket
Jan 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use `toHex` from the utils scope
parent
296f27d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
txRunner.js
remix-lib/src/execution/txRunner.js
+1
-1
No files found.
remix-lib/src/execution/txRunner.js
View file @
5e902070
...
@@ -34,7 +34,7 @@ class TxRunner {
...
@@ -34,7 +34,7 @@ class TxRunner {
}
}
_executeTx
(
tx
,
gasPrice
,
api
,
promptCb
,
callback
)
{
_executeTx
(
tx
,
gasPrice
,
api
,
promptCb
,
callback
)
{
if
(
gasPrice
)
tx
.
gasPrice
=
this
.
executionContext
.
web3
().
toHex
(
gasPrice
)
if
(
gasPrice
)
tx
.
gasPrice
=
this
.
executionContext
.
web3
().
utils
.
toHex
(
gasPrice
)
if
(
api
.
personalMode
())
{
if
(
api
.
personalMode
())
{
promptCb
(
promptCb
(
(
value
)
=>
{
(
value
)
=>
{
...
...
Write
Preview
Markdown
is supported
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