Skip to content
Snippets Groups Projects
Commit c7c6d74f authored by Adrien Béraud's avatar Adrien Béraud
Browse files

nameservice: handle null input in parseString

Change-Id: Ib702571ca3733408471b6e2f6f9664b619c56f74
parent abfcb35c
No related branches found
No related tags found
No related merge requests found
...@@ -108,7 +108,7 @@ function isHashZero(h) { ...@@ -108,7 +108,7 @@ function isHashZero(h) {
} }
function parseString(s) { function parseString(s) {
return web3.toUtf8(s); return s ? web3.toUtf8(s) : s;
} }
function formatAddress(s) { function formatAddress(s) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment