Merge pull request #1337 from siiky/fix/lam-588/usdt-send-coins
fix: USDT strict address validation
This commit is contained in:
commit
0d332e18a5
1 changed files with 2 additions and 1 deletions
|
|
@ -67,7 +67,8 @@ function privateKey (account) {
|
|||
}
|
||||
|
||||
function isStrictAddress (cryptoCode, toAddress, settings, operatorId) {
|
||||
return cryptoCode === 'ETH' && util.isValidChecksumAddress(toAddress)
|
||||
return checkCryptoCode(cryptoCode)
|
||||
.then(() => util.isValidChecksumAddress(toAddress))
|
||||
}
|
||||
|
||||
function getTxHashesByAddress (cryptoCode, address) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue