Chore: remove 1-conf check in wallet plugin
Chore: Use _.isNil
This commit is contained in:
parent
84e7b67635
commit
d1db0b95c8
3 changed files with 7 additions and 8 deletions
|
|
@ -145,7 +145,7 @@ function authorizeZeroConf (settings, tx, machineId) {
|
|||
return Promise.reject(new Error('tx.fiat is undefined!'))
|
||||
}
|
||||
|
||||
if (plugin === 'no-zero-conf' || tx.fiat.gt(zeroConfLimit)) {
|
||||
if (tx.fiat.gt(zeroConfLimit)) {
|
||||
return Promise.resolve(false)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue