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
c7afb5fb
Commit
c7afb5fb
authored
Aug 06, 2014
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output dump string, not undefined
parent
852d1ee3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
javascript_runtime.go
ethereum/repl/javascript_runtime.go
+2
-2
No files found.
ethereum/repl/javascript_runtime.go
View file @
c7afb5fb
...
...
@@ -181,9 +181,9 @@ func (self *JSRE) dump(call otto.FunctionCall) otto.Value {
state
=
self
.
ethereum
.
StateManager
()
.
CurrentState
()
}
fmt
.
Println
(
state
.
Dump
())
v
,
_
:=
self
.
vm
.
ToValue
(
state
.
Dump
())
return
otto
.
UndefinedValue
()
return
v
}
func
(
self
*
JSRE
)
stopMining
(
call
otto
.
FunctionCall
)
otto
.
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