diff --git a/routes/account.js b/routes/account.js index da7bea32..d714a2af 100644 --- a/routes/account.js +++ b/routes/account.js @@ -50,7 +50,7 @@ router.get('/:account', function(req, res, next) { data.source = JSON.parse(source); data.contractState = []; - if (!data.abi) { + if (!data.source.abi) { return callback(); } var abi = JSON.parse(data.source.abi);