Skip to content

Commit

Permalink
fix: Asset form field order
Browse files Browse the repository at this point in the history
  • Loading branch information
clockworkgr committed Jul 10, 2024
1 parent 4aad273 commit 3a69614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ const addChainPR = (fields) => {
const addAssetPR = (fields) => {
const baseDenom = fields[0].split("\n\n")[1].toLowerCase();
const chainId = fields[1].split("\n\n")[1].toLowerCase();
const note = fields[1].split("\n\n").slice(1, -1).join("\r\n");
const threatLevel = fields[2].split("\n\n")[1][0];
const note = fields[2].split("\n\n").slice(1, -1).join("\r\n");
const threatLevel = fields[3].split("\n\n")[1][0];
const blacklist = JSON.parse(fs.readFileSync("asset-blacklist.json", "utf8"));
const denom_index = blacklist.find(
(x) => x.baseDenom == denom && x.chainId == chainId
Expand Down

0 comments on commit 3a69614

Please sign in to comment.