Skip to content

Commit

Permalink
chore: fix btcb (#1154)
Browse files Browse the repository at this point in the history
* chore: fix btcb

* chore: fix test

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
towanTG and github-actions[bot] authored Jan 8, 2025
1 parent 6baf5f7 commit 0d4fb6c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
5 changes: 5 additions & 0 deletions .changeset/metal-feet-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@swapkit/tokens": patch
---

Removes duplicated btc.b and fixed uppercase symbol
Original file line number Diff line number Diff line change
Expand Up @@ -557,8 +557,8 @@ describe("AssetValue", () => {
decimal: 8,
isGasAsset: false,
isSynthetic: false,
symbol: "BTC.B-0x152b9d0fdc40c096757f570a51e494bd4b943e50",
ticker: "BTC.B",
symbol: "BTC.b-0x152b9d0fdc40c096757f570a51e494bd4b943e50",
ticker: "BTC.b",
}),
);
});
Expand Down
12 changes: 1 addition & 11 deletions packages/swapkit/tokens/src/tokenLists/traderjoe_v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -525,17 +525,7 @@ export const list = {
chain: "AVAX",
chainId: "43114",
decimals: 8,
identifier: "AVAX.BTC.B-0X152B9D0FDC40C096757F570A51E494BD4B943E50",
logoURI:
"https://storage.googleapis.com/token-list-swapkit/images/avax.btc.b-0x152b9d0fdc40c096757f570a51e494bd4b943e50.png",
ticker: "BTC.B",
},
{
address: "0x152b9d0FdC40C096757F570A51E494bd4b943E50",
chain: "AVAX",
chainId: "43114",
decimals: 8,
identifier: "AVAX.BTC.B-0X152B9D0FDC40C096757F570A51E494BD4B943E50",
identifier: "AVAX.BTC.b-0X152B9D0FDC40C096757F570A51E494BD4B943E50",
logoURI:
"https://storage.googleapis.com/token-list-swapkit/images/avax.btc.b-0x152b9d0fdc40c096757f570a51e494bd4b943e50.png",
ticker: "BTC.B",
Expand Down

0 comments on commit 0d4fb6c

Please sign in to comment.