Skip to content

Commit

Permalink
use abi field in json if abi field is found
Browse files Browse the repository at this point in the history
  • Loading branch information
SocialfiPanda committed Feb 17, 2024
1 parent 6dedde2 commit 5774729
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions start.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@ function start() {
}
var raw = fs.readFileSync(`${name[0]}.json`);
var abi = JSON.parse(raw);
if (abi["abi"]) {
abi = abi["abi"]
}

const totalFunction = []
const totalPublicFunction = []
Expand Down

0 comments on commit 5774729

Please sign in to comment.