Skip to content

Commit

Permalink
node: Fix governor token list script for new chains (#3625)
Browse files Browse the repository at this point in the history
  • Loading branch information
djb15 authored Jan 4, 2024
1 parent 738a68a commit 1a187d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/hack/governor/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ axios
}

// This is a new token
if (!existingTokenPrices[chain][wormholeAddr]) {
if (existingTokenPrices[chain] == undefined || existingTokenPrices[chain][wormholeAddr] == undefined) {
addedTokens.push(chain + "-" + wormholeAddr + "-" + data.Symbol);
}
// This is an existing token
Expand Down

0 comments on commit 1a187d6

Please sign in to comment.