Commit c7c6d74f authored by Adrien Béraud's avatar Adrien Béraud

nameservice: handle null input in parseString

Change-Id: Ib702571ca3733408471b6e2f6f9664b619c56f74
parent abfcb35c
......@@ -108,7 +108,7 @@ function isHashZero(h) {
}
function parseString(s) {
return web3.toUtf8(s);
return s ? web3.toUtf8(s) : s;
}
function formatAddress(s) {
......
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