type name for string

pull/7/head
yann300 8 years ago
parent 2e8babeb21
commit 0531d5ee6a
  1. 3
      src/solidity/types/StringType.js

@ -30,7 +30,8 @@ function format (decoded) {
value = value.replace('0x', '').replace(/(..)/g, '%$1')
var ret = {
length: decoded.length,
raw: decoded.value
raw: decoded.value,
type: 'string'
}
try {
ret.value = decodeURIComponent(value)

Loading…
Cancel
Save