Skip to content

Commit 0d2da0c

Browse files
committed
fix(statics): fix polyx token network
TICKET: WIN-6675
1 parent 61c7bb6 commit 0d2da0c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

modules/statics/src/account.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3592,7 +3592,7 @@ export function ttaoToken(
35923592
}
35933593

35943594
/**
3595-
* Factory function for tao token instances.
3595+
* Factory function for polyx token instances.
35963596
*
35973597
* @param id uuid v4
35983598
* @param name unique identifier of the token
@@ -3603,7 +3603,7 @@ export function ttaoToken(
36033603
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
36043604
* @param prefix? Optional token prefix. Defaults to empty string
36053605
* @param suffix? Optional token suffix. Defaults to token name.
3606-
* @param network? Optional token network. Defaults to TAO main network.
3606+
* @param network? Optional token network. Defaults to Polyx main network.
36073607
* @param primaryKeyCurve The elliptic curve for this chain/token
36083608
*/
36093609
export function polyxToken(
@@ -3617,7 +3617,7 @@ export function polyxToken(
36173617
features: CoinFeature[] = AccountCoin.DEFAULT_FEATURES,
36183618
prefix = '',
36193619
suffix: string = name.toUpperCase(),
3620-
network: AccountNetwork = Networks.main.tao,
3620+
network: AccountNetwork = Networks.main.polyx,
36213621
primaryKeyCurve: KeyCurve = KeyCurve.Ed25519
36223622
): Readonly<PolyxCoin> {
36233623
return Object.freeze(
@@ -3635,13 +3635,13 @@ export function polyxToken(
36353635
asset,
36363636
isToken: true,
36373637
primaryKeyCurve,
3638-
baseUnit: BaseUnit.TAO,
3638+
baseUnit: BaseUnit.POLYX,
36393639
})
36403640
);
36413641
}
36423642

36433643
/**
3644-
* Factory function for testnet tao token instances.
3644+
* Factory function for testnet polyx token instances.
36453645
*
36463646
* @param id uuid v4
36473647
* @param name unique identifier of the token
@@ -3652,7 +3652,7 @@ export function polyxToken(
36523652
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES
36533653
* @param prefix? Optional token prefix. Defaults to empty string
36543654
* @param suffix? Optional token suffix. Defaults to token name.
3655-
* @param network? Optional token network. Defaults to TAO test network.
3655+
* @param network? Optional token network. Defaults to Polyx test network.
36563656
* @param primaryKeyCurve The elliptic curve for this chain/token
36573657
*/
36583658

@@ -3667,7 +3667,7 @@ export function tpolyxToken(
36673667
features: CoinFeature[] = AccountCoin.DEFAULT_FEATURES,
36683668
prefix = '',
36693669
suffix: string = name.toUpperCase(),
3670-
network: AccountNetwork = Networks.test.tao,
3670+
network: AccountNetwork = Networks.test.polyx,
36713671
primaryKeyCurve: KeyCurve = KeyCurve.Ed25519
36723672
): Readonly<PolyxCoin> {
36733673
return polyxToken(

0 commit comments

Comments
 (0)