Commit b675386b authored by Alex Beregszaszi's avatar Alex Beregszaszi

Use ABI stringify

parent 2021ef1d
...@@ -192,6 +192,7 @@ UniversalDApp.prototype.getInstanceInterface = function (contract, address, $tar ...@@ -192,6 +192,7 @@ UniversalDApp.prototype.getInstanceInterface = function (contract, address, $tar
return item.type; return item.type;
}); });
decoded = EthJS.ABI.rawDecode(types, log[2]); decoded = EthJS.ABI.rawDecode(types, log[2]);
decoded = EthJS.ABI.stringify(types, decoded)
} catch (e) { } catch (e) {
decoded = '0x' + log[2].toString('hex'); decoded = '0x' + log[2].toString('hex');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment