Commit 0154eb4b authored by yann300's avatar yann300

fix memory value decoding

parent 73d9a3a0
...@@ -63,7 +63,7 @@ class ValueType { ...@@ -63,7 +63,7 @@ class ValueType {
decodeFromMemory (offset, memory) { decodeFromMemory (offset, memory) {
var value = memory.substr(2 * offset, 64) var value = memory.substr(2 * offset, 64)
return { return {
value: this.decodeValue(util.extractHexByteSlice(value, this.storageBytes, 0)), value: this.decodeValue(value),
type: this.typeName type: this.typeName
} }
} }
......
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