@@ -324,7 +324,7 @@ class RESTv2 {
324324 * @private
325325 */
326326 _genCurrencyList ( data ) {
327- if ( ! Array . isArray ( data ) || data . length !== 5 ) {
327+ if ( ! Array . isArray ( data ) || data . length !== 6 ) {
328328 return data
329329 }
330330
@@ -345,6 +345,7 @@ class RESTv2 {
345345 const mapedCurrLabel = transformArrToObj ( data [ 2 ] )
346346 const pool = transformArrToObj ( data [ 3 ] )
347347 const explorer = transformArrToObj ( data [ 4 ] )
348+ const walletFx = transformArrToObj ( data [ 5 ] )
348349
349350 const allCurrObj = {
350351 ...listedCurr ,
@@ -367,7 +368,8 @@ class RESTv2 {
367368 const cExpl = explorer [ key ] || [ ]
368369 const cName = allCurrObj [ key ]
369370 const cSymbol = mapedCurrSym [ key ] || key
370- allCurArr . push ( [ key , cName , cPool , cExpl , cSymbol ] )
371+ const cWfx = walletFx [ key ] || [ ]
372+ allCurArr . push ( [ key , cName , cPool , cExpl , cSymbol , cWfx ] )
371373 } )
372374
373375 return allCurArr
@@ -571,7 +573,8 @@ class RESTv2 {
571573 `pub:map:currency:sym${ suffix } ` ,
572574 `pub:map:currency:label${ suffix } ` ,
573575 `pub:map:currency:pool${ suffix } ` ,
574- `pub:map:currency:explorer${ suffix } `
576+ `pub:map:currency:explorer${ suffix } ` ,
577+ `pub:map:currency:wfx${ suffix } `
575578 ] . join ( ',' ) } `
576579
577580 return this . _makePublicRequest ( url , cb , ( data ) => {
0 commit comments