Skip to content

Commit 65d4fc4

Browse files
authored
Fix contract state tab
Fix 'Current contract state' tab when contract code is available.
1 parent 2ef6974 commit 65d4fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routes/account.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ router.get('/:account', function(req, res, next) {
5050
data.source = JSON.parse(source);
5151

5252
data.contractState = [];
53-
if (!data.abi) {
53+
if (!data.source.abi) {
5454
return callback();
5555
}
5656
var abi = JSON.parse(data.source.abi);

0 commit comments

Comments
 (0)