From e1811daf24ffe7701f47da9f8947adfa6b68d38f Mon Sep 17 00:00:00 2001 From: siiky Date: Fri, 16 Dec 2022 17:03:45 +0000 Subject: [PATCH] refactor: use restructuring --- lib/cash-in/cash-in-tx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cash-in/cash-in-tx.js b/lib/cash-in/cash-in-tx.js index 64afaa7f..03235176 100644 --- a/lib/cash-in/cash-in-tx.js +++ b/lib/cash-in/cash-in-tx.js @@ -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)