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
9c36f847
Commit
9c36f847
authored
Dec 20, 2019
by
aniket-engg
Committed by
Aniket
Dec 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use web3 utils
parent
faad28c1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
txRunner.js
remix-lib/src/execution/txRunner.js
+1
-1
universalDapp.js
remix-lib/src/universalDapp.js
+1
-1
No files found.
remix-lib/src/execution/txRunner.js
View file @
9c36f847
...
...
@@ -32,7 +32,7 @@ class TxRunner {
}
_executeTx
(
tx
,
gasPrice
,
api
,
promptCb
,
callback
)
{
if
(
gasPrice
)
tx
.
gasPrice
=
executionContext
.
web3
().
toHex
(
gasPrice
)
if
(
gasPrice
)
tx
.
gasPrice
=
executionContext
.
web3
().
utils
.
toHex
(
gasPrice
)
if
(
api
.
personalMode
())
{
promptCb
(
(
value
)
=>
{
...
...
remix-lib/src/universalDapp.js
View file @
9c36f847
...
...
@@ -201,7 +201,7 @@ module.exports = class UniversalDApp {
if
(
error
)
{
callback
(
error
)
}
else
{
callback
(
null
,
executionContext
.
web3
().
fromWei
(
balance
,
'ether'
))
callback
(
null
,
executionContext
.
web3
().
utils
.
fromWei
(
balance
,
'ether'
))
}
})
}
...
...
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