Commit a4f9d254 authored by yann300's avatar yann300

fix memory

parent dcba42f1
......@@ -118,8 +118,8 @@ module.exports = React.createClass({
memoryIndex = this.retrieveLastSeenProperty(vmTraceIndex, "memory", props.vmTrace.vmtrace)
if (props.vmTrace.vmtrace[memoryIndex].memory || memoryIndex === 0)
{
this.setState({ currentMemory: this.formatMemory(props.vmTrace.vmtrace[memoryIndex].memory) })
lastMemory = this.formatMemory(props.vmTrace.vmtrace[memoryIndex].memory)
this.setState({ currentMemory: this.formatMemory(props.vmTrace.vmtrace[memoryIndex].memory, 16) })
lastMemory = this.formatMemory(props.vmTrace.vmtrace[memoryIndex].memory, 16)
}
if (props.vmTrace.vmtrace[vmTraceIndex].calldata)
......
......@@ -31,7 +31,7 @@ module.exports = React.createClass({
if (this.props.data)
{
for (var key in this.props.data)
ret.push(<tr key={key} ><td>{JSON.stringify(this.props.data[key])}</td></tr>)
ret.push(<tr key={key} ><td>{JSON.stringify(this.props.data[key])}</td></tr>)
}
return ret
}
......
......@@ -10,7 +10,7 @@ module.exports = {
{
margin: '10px',
border: '1px solid',
width: '625px'
width: '800px'
},
table:
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment