aboutsummaryrefslogtreecommitdiffstats
path: root/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'javascript')
-rw-r--r--javascript/javascript_runtime.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/javascript_runtime.go b/javascript/javascript_runtime.go
index ea3cb6071..86a376fbf 100644
--- a/javascript/javascript_runtime.go
+++ b/javascript/javascript_runtime.go
@@ -149,7 +149,7 @@ func (self *JSRE) dump(call otto.FunctionCall) otto.Value {
state = block.State()
} else {
- state = self.ethereum.StateManager().CurrentState()
+ state = self.ethereum.BlockManager().CurrentState()
}
v, _ := self.Vm.ToValue(state.Dump())