From a8adf9793df2567a1ccbb07392fbd8d0713fb1ad Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 25 Jan 2017 17:02:24 +0100 Subject: [PATCH] add type property --- src/solidity/types/DynamicByteArray.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/solidity/types/DynamicByteArray.js b/src/solidity/types/DynamicByteArray.js index e5f643fc9c..ddef854062 100644 --- a/src/solidity/types/DynamicByteArray.js +++ b/src/solidity/types/DynamicByteArray.js @@ -24,7 +24,8 @@ class DynamicByteArray extends RefType { } return { value: '0x' + ret.replace(/(00)+$/, ''), - length: '0x' + length.toString(16) + length: '0x' + length.toString(16), + type: this.typeName } } else { var size = parseInt(value.substr(value.length - 2, 2), 16) / 2