fix: USDT strict address validation
This commit is contained in:
parent
abddb165fe
commit
340303f7e3
1 changed files with 2 additions and 1 deletions
|
|
@ -66,7 +66,8 @@ function privateKey (account) {
|
|||
}
|
||||
|
||||
function isStrictAddress (cryptoCode, toAddress, settings, operatorId) {
|
||||
return cryptoCode === 'ETH' && util.isValidChecksumAddress(toAddress)
|
||||
return checkCryptoCode(cryptoCode)
|
||||
.then(() => util.isValidChecksumAddress(toAddress))
|
||||
}
|
||||
|
||||
function sendCoins (account, tx, settings, operatorId, feeMultiplier) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue