This repository was archived by the owner on Nov 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ async function updateToken(axios: any) {
100100 TOKENS [ knownTokenInfo [ 0 ] ] . tags . push ( 'raydium' )
101101 }
102102 TOKENS [ knownTokenInfo [ 0 ] ] . picUrl = tokens . official [ itemTokenMint ] . icon
103+ TOKENS [ knownTokenInfo [ 0 ] ] . symbol = tokens . official [ itemTokenMint ] . symbol
103104 } else {
104105 TOKENS [ itemTokenMint ] = {
105106 symbol : itemToken . symbol ,
@@ -111,6 +112,7 @@ async function updateToken(axios: any) {
111112 }
112113 }
113114 }
115+
114116 for ( const itemTokenMint of Object . keys ( tokens . unOfficial ) ) {
115117 const itemToken = tokens . unOfficial [ itemTokenMint ]
116118 const knownTokenInfo = Object . entries ( TOKENS ) . find ( ( item ) => item [ 1 ] . mintAddress === itemTokenMint )
@@ -119,6 +121,7 @@ async function updateToken(axios: any) {
119121 TOKENS [ knownTokenInfo [ 0 ] ] . tags . push ( 'solana' )
120122 }
121123 TOKENS [ knownTokenInfo [ 0 ] ] . picUrl = tokens . unOfficial [ itemTokenMint ] . icon
124+ TOKENS [ knownTokenInfo [ 0 ] ] . symbol = tokens . unOfficial [ itemTokenMint ] . symbol
122125 } else {
123126 TOKENS [ itemTokenMint ] = {
124127 symbol : itemToken . symbol ,
You can’t perform that action at this time.
0 commit comments