fix: set ETH zero conf limit to 0
This commit is contained in:
parent
5949764389
commit
5a25c0dde2
2 changed files with 27 additions and 0 deletions
|
|
@ -170,6 +170,11 @@ function authorizeZeroConf (settings, tx, machineId) {
|
|||
return Promise.reject(new Error('tx.fiat is undefined!'))
|
||||
}
|
||||
|
||||
// TODO: confirm if this treatment is needed for ERC-20 tokens, once their cash-out transactions are enabled
|
||||
if (tx.cryptoCode === 'ETH') {
|
||||
return Promise.resolve(false)
|
||||
}
|
||||
|
||||
if (tx.fiat.gt(zeroConfLimit)) {
|
||||
return Promise.resolve(false)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue