Skip to content

Commit

Permalink
feat: update nbtc address
Browse files Browse the repository at this point in the history
  • Loading branch information
naturexie committed Oct 28, 2024
1 parent be50b6f commit 6b25f83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion redux/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const emptyBorrowedAsset = (asset: { borrowed: number }): boolean => {
return !(
asset.borrowed.toLocaleString(
undefined,
asset.tokenId === "nbtc1-nsp.testnet" ? TOKEN_FORMAT_BTC : TOKEN_FORMAT,
asset.tokenId === "nbtc2-nsp.testnet" ? TOKEN_FORMAT_BTC : TOKEN_FORMAT,
) === (0).toLocaleString(undefined, TOKEN_FORMAT)
);
};
Expand Down
2 changes: 1 addition & 1 deletion utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const incentiveTokens = [
];
export const topTokens = ["shadow_ref_v1-4179"];
export const NBTCTokenId = {
testnet: "nbtc1-nsp.testnet",
testnet: "nbtc2-nsp.testnet",
mainnet: "",
}[defaultNetwork];
const getConfig = (env: string = defaultNetwork) => {
Expand Down

0 comments on commit 6b25f83

Please sign in to comment.