fix: verify if wallet scoring is enabled
This commit is contained in:
parent
69a4d52753
commit
727544344b
6 changed files with 79 additions and 37 deletions
|
|
@ -850,6 +850,10 @@ function plugins (settings, deviceId) {
|
|||
return walletScoring.getInputAddresses(settings, tx.cryptoCode, txHashes)
|
||||
}
|
||||
|
||||
function isWalletScoringEnabled (tx) {
|
||||
return walletScoring.isWalletScoringEnabled(settings, tx.cryptoCode)
|
||||
}
|
||||
|
||||
return {
|
||||
getRates,
|
||||
recordPing,
|
||||
|
|
@ -882,7 +886,8 @@ function plugins (settings, deviceId) {
|
|||
rateWallet,
|
||||
isValidWalletScore,
|
||||
getTransactionHash,
|
||||
getInputAddresses
|
||||
getInputAddresses,
|
||||
isWalletScoringEnabled
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue