Skip to content

Commit

Permalink
Merge pull request #37 from dostu/patch-1
Browse files Browse the repository at this point in the history
Fix contract state tab
  • Loading branch information
Peter Pratscher authored Dec 11, 2017
2 parents 2ef6974 + 65d4fc4 commit 4df4ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/account.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4df4ac6

Please sign in to comment.