|
14 | 14 |
|
15 | 15 |
|
16 | 16 | TEST(TWThunderTokenCoinType, TWCoinType) { |
17 | | - auto symbol = WRAPS(TWCoinTypeConfigurationGetSymbol(TWCoinTypeThunderToken)); |
| 17 | + auto symbol = WRAPS(TWCoinTypeConfigurationGetSymbol(TWCoinTypeThunderCore)); |
18 | 18 | auto txId = WRAPS(TWStringCreateWithUTF8Bytes("t123")); |
19 | | - auto txUrl = WRAPS(TWCoinTypeConfigurationGetTransactionURL(TWCoinTypeThunderToken, txId.get())); |
| 19 | + auto txUrl = WRAPS(TWCoinTypeConfigurationGetTransactionURL(TWCoinTypeThunderCore, txId.get())); |
20 | 20 | auto accId = WRAPS(TWStringCreateWithUTF8Bytes("a12")); |
21 | | - auto accUrl = WRAPS(TWCoinTypeConfigurationGetAccountURL(TWCoinTypeThunderToken, accId.get())); |
22 | | - auto id = WRAPS(TWCoinTypeConfigurationGetID(TWCoinTypeThunderToken)); |
23 | | - auto name = WRAPS(TWCoinTypeConfigurationGetName(TWCoinTypeThunderToken)); |
| 21 | + auto accUrl = WRAPS(TWCoinTypeConfigurationGetAccountURL(TWCoinTypeThunderCore, accId.get())); |
| 22 | + auto id = WRAPS(TWCoinTypeConfigurationGetID(TWCoinTypeThunderCore)); |
| 23 | + auto name = WRAPS(TWCoinTypeConfigurationGetName(TWCoinTypeThunderCore)); |
24 | 24 |
|
25 | | - ASSERT_EQ(TWCoinTypeConfigurationGetDecimals(TWCoinTypeThunderToken), 18); |
26 | | - ASSERT_EQ(TWBlockchainEthereum, TWCoinTypeBlockchain(TWCoinTypeThunderToken)); |
27 | | - ASSERT_EQ(0x0, TWCoinTypeP2shPrefix(TWCoinTypeThunderToken)); |
28 | | - ASSERT_EQ(0x0, TWCoinTypeStaticPrefix(TWCoinTypeThunderToken)); |
| 25 | + ASSERT_EQ(TWCoinTypeConfigurationGetDecimals(TWCoinTypeThunderCore), 18); |
| 26 | + ASSERT_EQ(TWBlockchainEthereum, TWCoinTypeBlockchain(TWCoinTypeThunderCore)); |
| 27 | + ASSERT_EQ(0x0, TWCoinTypeP2shPrefix(TWCoinTypeThunderCore)); |
| 28 | + ASSERT_EQ(0x0, TWCoinTypeStaticPrefix(TWCoinTypeThunderCore)); |
29 | 29 | assertStringsEqual(symbol, "TT"); |
30 | 30 | assertStringsEqual(txUrl, "https://scan.thundercore.com/transactions/t123"); |
31 | 31 | assertStringsEqual(accUrl, "https://scan.thundercore.com/address/a12"); |
32 | 32 | assertStringsEqual(id, "thundertoken"); |
33 | | - assertStringsEqual(name, "Thunder Token"); |
| 33 | + assertStringsEqual(name, "ThunderCore"); |
34 | 34 | } |
0 commit comments