fix: supportsBatching function

This commit is contained in:
Sérgio Salgado 2021-06-07 18:17:06 +01:00
parent 00c38ea721
commit e6be999f02
7 changed files with 21 additions and 7 deletions

View file

@ -10,6 +10,8 @@ const cryptoRec = coinUtils.getCryptoCurrency('BCH')
const configPath = coinUtils.configPath(cryptoRec, options.blockchainDir)
const unitScale = cryptoRec.unitScale
const SUPPORTS_BATCHING = false
function rpcConfig () {
try {
const config = jsonRpc.parseConf(configPath)
@ -131,7 +133,7 @@ function cryptoNetwork (account, cryptoCode, settings, operatorId) {
function supportsBatching (account, cryptoCode) {
return checkCryptoCode(cryptoCode)
.then(() => _.isFunction(sendCoinsBatch))
.then(() => SUPPORTS_BATCHING)
}
module.exports = {