@pioneer-platform/pioneer-caip 9.0.1 → 9.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/data.js +3 -2
- package/package.json +1 -1
package/lib/data.js
CHANGED
@@ -212,10 +212,11 @@ var thorchainToCaip = function (chain, symbol, ticker, type) {
|
|
212
212
|
// let chainEnumValue = getChainEnumValue(chain)
|
213
213
|
// console.log("chainEnumValue: ", chainEnumValue)
|
214
214
|
if (chain == "AVAX" && symbol == "WETH") {
|
215
|
+
console.log("WETH detected");
|
215
216
|
caip = exports.ChainToCaip[chain];
|
216
217
|
}
|
217
|
-
|
218
|
-
|
218
|
+
else if (chain == symbol) {
|
219
|
+
//if chain and symbol are the same, then we have a native token
|
219
220
|
caip = exports.ChainToCaip[chain];
|
220
221
|
}
|
221
222
|
else {
|