refactor: replace ternary operator with binary OR operator
This commit is contained in:
parent
a56336282f
commit
63bb2c791d
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ function post (machineTx, pi) {
|
|||
_.set('blacklisted', isBlacklisted),
|
||||
_.set('blacklistMessage', blacklisted?.content),
|
||||
_.set('addressReuse', addressReuse),
|
||||
_.set('validWalletScore', _.isNil(walletScore) ? true : walletScore.isValid),
|
||||
_.set('validWalletScore', _.isNil(walletScore) || walletScore.isValid),
|
||||
))
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue