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

@ -17,6 +17,8 @@ const paymentPrefixPath = "m/44'/60'/0'/0'"
const defaultPrefixPath = "m/44'/60'/1'/0'"
let lastUsedNonces = {}
const SUPPORTS_BATCHING = false
module.exports = {
NAME,
balance,
@ -226,5 +228,5 @@ function newFunding (account, cryptoCode, settings, operatorId) {
function supportsBatching (account, cryptoCode) {
return checkCryptoCode(cryptoCode)
.then(() => _.isFunction(sendCoinsBatch))
.then(() => SUPPORTS_BATCHING)
}