From 0531d5ee6acf0ce628950fa15ba8a68e622f2692 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 18 Jan 2017 17:17:54 +0100 Subject: [PATCH] type name for string --- src/solidity/types/StringType.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/solidity/types/StringType.js b/src/solidity/types/StringType.js index 8d3801a23c..2bb01862e3 100644 --- a/src/solidity/types/StringType.js +++ b/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)