add type property

pull/7/head
yann300 8 years ago
parent c6b72a004f
commit a8adf9793d
  1. 3
      src/solidity/types/DynamicByteArray.js

@ -24,7 +24,8 @@ class DynamicByteArray extends RefType {
} }
return { return {
value: '0x' + ret.replace(/(00)+$/, ''), value: '0x' + ret.replace(/(00)+$/, ''),
length: '0x' + length.toString(16) length: '0x' + length.toString(16),
type: this.typeName
} }
} else { } else {
var size = parseInt(value.substr(value.length - 2, 2), 16) / 2 var size = parseInt(value.substr(value.length - 2, 2), 16) / 2

Loading…
Cancel
Save