Change the field to integer

pull/969/head
Nikhil Parasaram 6 years ago
parent f4bcb82b07
commit f0ce805a7c
  1. 6
      mythril/analysis/report.py

@ -231,11 +231,7 @@ class Report:
},
"severity": issue.severity,
"locations": [{"sourceMap": "%d:1:%d" % (issue.address, idx)}],
"extra": {
"discoveryTime": "{}".format(
int(issue.discovery_time * 10 ** 9)
)
},
"extra": {"discoveryTime": int(issue.discovery_time * 10 ** 9)},
}
)
meta_data = self._get_exception_data()

Loading…
Cancel
Save