Fix notify operator call
This commit is contained in:
parent
1153c6af6a
commit
1fb35d107b
1 changed files with 1 additions and 1 deletions
|
|
@ -347,7 +347,7 @@ function plugins (settings, deviceId) {
|
|||
if (!transactionNotificationsEnabled()) return Promise.resolve()
|
||||
|
||||
const isCashOut = tx.direction === 'cashOut'
|
||||
const zeroConf = isZeroConf(tx)
|
||||
const zeroConf = isCashOut && isZeroConf(tx)
|
||||
|
||||
// 0-conf cash-out should only send notification on redemption
|
||||
if (zeroConf && isCashOut && !rec.isRedemption && !rec.error) return Promise.resolve()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue