Merge pull request #1088 from chaotixkilla/feat-add-transaction-batching-option

Add transaction batching option to advanced wallet settings
This commit is contained in:
Rafael Taranto 2022-02-04 08:45:33 +00:00 committed by GitHub
commit 7f4858ddd4
12 changed files with 29 additions and 74 deletions

View file

@ -233,8 +233,7 @@ function isStrictAddress (settings, cryptoCode, toAddress) {
}
function supportsBatching (settings, cryptoCode) {
return fetchWallet(settings, cryptoCode)
.then(r => r.wallet.supportsBatching(cryptoCode))
return Promise.resolve(!!configManager.getWalletSettings(cryptoCode, settings.config).allowTransactionBatching)
}
function checkBlockchainStatus (settings, cryptoCode) {