fix memory value decoding

pull/7/head
yann300 7 years ago
parent 73d9a3a01d
commit 0154eb4be8
  1. 2
      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
}
}

Loading…
Cancel
Save