@openocean.finance/wallet 1.3.6 → 1.3.7
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/Chains.js +2 -0
- package/package.json +1 -1
package/lib/Chains.js
CHANGED
|
@@ -352,6 +352,8 @@ var Chains = /** @class */ (function () {
|
|
|
352
352
|
return this.chainObj[name] || null;
|
|
353
353
|
};
|
|
354
354
|
Chains.prototype.isNativeToken = function (chainName, address) {
|
|
355
|
+
if (chainName === 'celo')
|
|
356
|
+
return false;
|
|
355
357
|
if (chainObj[chainName] && chainObj[chainName].nativeCurrency && chainObj[chainName].nativeCurrency.address) {
|
|
356
358
|
return chainObj[chainName].nativeCurrency.address.toUpperCase() === address.toUpperCase();
|
|
357
359
|
}
|