From 0154eb4be8e32986a98eb44799a9de4cdf89a001 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 19 Sep 2017 09:54:48 +0200 Subject: [PATCH] fix memory value decoding --- src/solidity/types/ValueType.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }