diff --git a/index.js b/index.js index 8876c64bbaca5f0df883fe7de982da8776a50def..7637d09273a8bab096bb224e44e6852dccf1aa91 100644 --- a/index.js +++ b/index.js @@ -207,6 +207,8 @@ function startServer() { } try { req.body.owner = formatAddress(req.body.owner); + if (!req.body.owner) + throw "no owner"; } catch (err) { console.log("Error parsing input: " + err); http_res.status(400).end(JSON.stringify({"success": false, "error": err}));