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
142f6de4
Commit
142f6de4
authored
Sep 04, 2017
by
yann300
Committed by
GitHub
Sep 04, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #565 from ethereum/fixGas
gas convert to Decimal (VM)
parents
c316d0b1
1c340378
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
web3VmProvider.js
src/web3Provider/web3VmProvider.js
+1
-1
No files found.
src/web3Provider/web3VmProvider.js
View file @
142f6de4
...
@@ -79,7 +79,7 @@ web3VmProvider.prototype.txWillProcess = function (self, data) {
...
@@ -79,7 +79,7 @@ web3VmProvider.prototype.txWillProcess = function (self, data) {
this
.
processingAddress
=
tx
.
to
this
.
processingAddress
=
tx
.
to
tx
.
data
=
util
.
hexConvert
(
data
.
data
)
tx
.
data
=
util
.
hexConvert
(
data
.
data
)
tx
.
input
=
util
.
hexConvert
(
data
.
input
)
tx
.
input
=
util
.
hexConvert
(
data
.
input
)
tx
.
gas
=
util
.
hexConvert
(
data
.
gas
)
tx
.
gas
=
(
new
ethutil
.
BN
(
util
.
hexConvert
(
data
.
gas
).
replace
(
'0x'
,
''
),
16
)).
toString
(
10
)
if
(
data
.
value
)
{
if
(
data
.
value
)
{
tx
.
value
=
util
.
hexConvert
(
data
.
value
)
tx
.
value
=
util
.
hexConvert
(
data
.
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