Chore: remove 1-conf check in wallet plugin

Chore: Use _.isNil
This commit is contained in:
csrapr 2021-04-16 16:04:34 +01:00 committed by Josh Harvey
parent 84e7b67635
commit d1db0b95c8
3 changed files with 7 additions and 8 deletions

View file

@ -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)
}