Skip to content

Commit 8a05363

Browse files
prithvishet2503nvrakesh06
authored andcommitted
Merge pull request #6009 from BitGo/WIN-5270
fix: fix the currency code for the xrp tokens if more than 3 characters
2 parents 2a37c2f + d522b6a commit 8a05363

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

modules/account-lib/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bitgo/account-lib",
3-
"version": "24.5.12",
3+
"version": "24.5.11",
44
"description": "BitGo's account library functions",
55
"main": "./dist/src/index.js",
66
"types": "./dist/src/index.d.ts",
@@ -56,6 +56,7 @@
5656
"@bitgo/sdk-coin-opeth": "^18.2.0",
5757
"@bitgo/sdk-coin-osmo": "^3.0.45",
5858
"@bitgo/sdk-coin-polygon": "^21.1.0",
59+
"@bitgo/sdk-coin-polyx": "^1.0.1",
5960
"@bitgo/sdk-coin-rbtc": "^2.0.76",
6061
"@bitgo/sdk-coin-rune": "^1.1.33",
6162
"@bitgo/sdk-coin-sei": "^3.0.45",

modules/account-lib/src/index.ts

+3
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ export { Xdc };
167167
import * as Wemix from '@bitgo/sdk-coin-wemix';
168168
export { Wemix };
169169

170+
import * as Polyx from '@bitgo/sdk-coin-polyx';
171+
export { Polyx };
172+
170173
const coinBuilderMap = {
171174
trx: Trx.WrappedBuilder,
172175
ttrx: Trx.WrappedBuilder,

modules/statics/src/coins.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -2732,8 +2732,8 @@ export const coins = CoinMap.fromCoins([
27322732
'VNX Euro',
27332733
15,
27342734
'rLPtwF4FZi8bNVmbQ8JgoDUooozhwMNXr3',
2735-
'VEUR',
2736-
'rLPtwF4FZi8bNVmbQ8JgoDUooozhwMNXr3::VEUR',
2735+
'5645555200000000000000000000000000000000',
2736+
'rLPtwF4FZi8bNVmbQ8JgoDUooozhwMNXr3::5645555200000000000000000000000000000000',
27372737
'vnx.li',
27382738
UnderlyingAsset['xrp:veur']
27392739
),
@@ -2743,8 +2743,8 @@ export const coins = CoinMap.fromCoins([
27432743
'VNX Swiss Frank',
27442744
15,
27452745
'rLPtwF4FZi8bNVmbQ8JgoDUooozhwMNXr3',
2746-
'VCHF',
2747-
'rLPtwF4FZi8bNVmbQ8JgoDUooozhwMNXr3::VCHF',
2746+
'5643484600000000000000000000000000000000',
2747+
'rLPtwF4FZi8bNVmbQ8JgoDUooozhwMNXr3::5643484600000000000000000000000000000000',
27482748
'vnx.li',
27492749
UnderlyingAsset['xrp:vchf']
27502750
),
@@ -2754,8 +2754,8 @@ export const coins = CoinMap.fromCoins([
27542754
'VNX Pound',
27552755
15,
27562756
'rLPtwF4FZi8bNVmbQ8JgoDUooozhwMNXr3',
2757-
'VGBP',
2758-
'rLPtwF4FZi8bNVmbQ8JgoDUooozhwMNXr3::VGBP',
2757+
'5647425000000000000000000000000000000000',
2758+
'rLPtwF4FZi8bNVmbQ8JgoDUooozhwMNXr3::5647425000000000000000000000000000000000',
27592759
'vnx.li',
27602760
UnderlyingAsset['xrp:vgbp']
27612761
),

0 commit comments

Comments
 (0)