diff --git a/src/solidity/types/ValueType.js b/src/solidity/types/ValueType.js index 62903ba4e8..44c4c7b536 100644 --- a/src/solidity/types/ValueType.js +++ b/src/solidity/types/ValueType.js @@ -63,7 +63,7 @@ class ValueType { decodeFromMemory (offset, memory) { var value = memory.substr(2 * offset, 64) return { - value: this.decodeValue(util.extractHexByteSlice(value, this.storageBytes, 0)), + value: this.decodeValue(value), type: this.typeName } }