fix: l-c import
This commit is contained in:
parent
1dd16c2220
commit
0b5da0b78f
2 changed files with 2 additions and 1 deletions
|
|
@ -68,6 +68,7 @@ function sendCoins (account, tx, settings, operatorId) {
|
|||
}
|
||||
|
||||
function checkCryptoCode (cryptoCode) {
|
||||
console.log('estou a entrar no checkCryptoCode do ETH com o valor ' + cryptoCode)
|
||||
if (cryptoCode === 'ETH' || coins.utils.isErc20Token(cryptoCode)) return Promise.resolve()
|
||||
return Promise.reject(new Error('cryptoCode must be ETH'))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue