Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
47687cf0
Commit
47687cf0
authored
Jan 09, 2015
by
Marek Kotewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
default padding changed to 0
parent
92f171ec
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
ethereum.js
dist/ethereum.js
+1
-1
ethereum.js.map
dist/ethereum.js.map
+1
-1
ethereum.min.js
dist/ethereum.min.js
+1
-1
web3.js
lib/web3.js
+1
-1
No files found.
dist/ethereum.js
View file @
47687cf0
...
@@ -855,7 +855,7 @@ var web3 = {
...
@@ -855,7 +855,7 @@ var web3 = {
},
},
fromAscii
:
function
(
str
,
pad
)
{
fromAscii
:
function
(
str
,
pad
)
{
pad
=
pad
===
undefined
?
32
:
pad
;
pad
=
pad
===
undefined
?
0
:
pad
;
var
hex
=
this
.
toHex
(
str
);
var
hex
=
this
.
toHex
(
str
);
while
(
hex
.
length
<
pad
*
2
)
while
(
hex
.
length
<
pad
*
2
)
hex
+=
"00"
;
hex
+=
"00"
;
...
...
dist/ethereum.js.map
View file @
47687cf0
This diff is collapsed.
Click to expand it.
dist/ethereum.min.js
View file @
47687cf0
This diff is collapsed.
Click to expand it.
lib/web3.js
View file @
47687cf0
...
@@ -256,7 +256,7 @@ var web3 = {
...
@@ -256,7 +256,7 @@ var web3 = {
},
},
fromAscii
:
function
(
str
,
pad
)
{
fromAscii
:
function
(
str
,
pad
)
{
pad
=
pad
===
undefined
?
32
:
pad
;
pad
=
pad
===
undefined
?
0
:
pad
;
var
hex
=
this
.
toHex
(
str
);
var
hex
=
this
.
toHex
(
str
);
while
(
hex
.
length
<
pad
*
2
)
while
(
hex
.
length
<
pad
*
2
)
hex
+=
"00"
;
hex
+=
"00"
;
...
...
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