refactor: use restructuring
This commit is contained in:
parent
944ef60121
commit
e1811daf24
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ function post (machineTx, pi) {
|
|||
|
||||
return Promise.all(promises)
|
||||
.then(([config, isBlacklisted = false, isReusedAddress = false, walletScore = null]) => {
|
||||
const rejectAddressReuse = configManager.getCompliance(config).rejectAddressReuse
|
||||
const { rejectAddressReuse } = configManager.getCompliance(config)
|
||||
|
||||
if (isBlacklisted) {
|
||||
notifier.notifyIfActive('compliance', 'blacklistNotify', r.tx, false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue