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
5049a5c1
Unverified
Commit
5049a5c1
authored
Apr 26, 2018
by
yann300
Committed by
GitHub
Apr 26, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #780 from ethereum/fixOldEncoder
Fix Encoding
parents
0b48cab2
22ce7f50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
txFormat.js
remix-lib/src/execution/txFormat.js
+2
-2
No files found.
remix-lib/src/execution/txFormat.js
View file @
5049a5c1
...
@@ -25,9 +25,9 @@ module.exports = {
...
@@ -25,9 +25,9 @@ module.exports = {
return
{
error
:
'cannot encode arguments'
}
return
{
error
:
'cannot encode arguments'
}
}
}
if
(
contractbyteCode
)
{
if
(
contractbyteCode
)
{
return
{
data
:
contractbyteCode
+
encodedHex
}
return
{
data
:
'0x'
+
contractbyteCode
+
encodedHex
.
replace
(
'0x'
,
''
)
}
}
else
{
}
else
{
return
{
data
:
Buffer
.
concat
([
helper
.
encodeFunctionId
(
funABI
),
encoded
]).
toString
(
'hex
'
)
}
return
{
data
:
helper
.
encodeFunctionId
(
funABI
)
+
encodedHex
.
replace
(
'0x'
,
'
'
)
}
}
}
},
},
...
...
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