fix: remove settings parameter from individual wallet interfaces
This commit is contained in:
parent
e6be999f02
commit
bef24cf3a3
9 changed files with 9 additions and 9 deletions
|
|
@ -131,7 +131,7 @@ function cryptoNetwork (account, cryptoCode, settings, operatorId) {
|
|||
.then(() => parseInt(rpcConfig.port, 10) === 18332 ? 'test' : 'main')
|
||||
}
|
||||
|
||||
function supportsBatching (account, cryptoCode) {
|
||||
function supportsBatching (cryptoCode) {
|
||||
return checkCryptoCode(cryptoCode)
|
||||
.then(() => SUPPORTS_BATCHING)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -172,7 +172,7 @@ function fetchRBF (txId) {
|
|||
})
|
||||
}
|
||||
|
||||
function supportsBatching (account, cryptoCode) {
|
||||
function supportsBatching (cryptoCode) {
|
||||
return checkCryptoCode(cryptoCode)
|
||||
.then(() => SUPPORTS_BATCHING)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -159,7 +159,7 @@ function cryptoNetwork (account, cryptoCode, settings, operatorId) {
|
|||
.then(() => account.environment === 'test' ? 'test' : 'main')
|
||||
}
|
||||
|
||||
function supportsBatching (account, cryptoCode) {
|
||||
function supportsBatching (cryptoCode) {
|
||||
return checkCryptoCode(cryptoCode)
|
||||
.then(() => SUPPORTS_BATCHING)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ function newFunding (account, cryptoCode, settings, operatorId) {
|
|||
}))
|
||||
}
|
||||
|
||||
function supportsBatching (account, cryptoCode) {
|
||||
function supportsBatching (cryptoCode) {
|
||||
return checkCryptoCode(cryptoCode)
|
||||
.then(() => SUPPORTS_BATCHING)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -226,7 +226,7 @@ function newFunding (account, cryptoCode, settings, operatorId) {
|
|||
})
|
||||
}
|
||||
|
||||
function supportsBatching (account, cryptoCode) {
|
||||
function supportsBatching (cryptoCode) {
|
||||
return checkCryptoCode(cryptoCode)
|
||||
.then(() => SUPPORTS_BATCHING)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ function newFunding (account, cryptoCode, settings, operatorId) {
|
|||
}))
|
||||
}
|
||||
|
||||
function supportsBatching (account, cryptoCode) {
|
||||
function supportsBatching (cryptoCode) {
|
||||
return checkCryptoCode(cryptoCode)
|
||||
.then(() => SUPPORTS_BATCHING)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ function getStatus (account, tx, requested, settings, operatorId) {
|
|||
return Promise.resolve({status: 'confirmed'})
|
||||
}
|
||||
|
||||
function supportsBatching (account, cryptoCode) {
|
||||
function supportsBatching (cryptoCode) {
|
||||
return Promise.resolve(_.includes(cryptoCode, BATCHABLE_COINS))
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ function newFunding (account, cryptoCode, settings, operatorId) {
|
|||
}))
|
||||
}
|
||||
|
||||
function supportsBatching (account, cryptoCode) {
|
||||
function supportsBatching (cryptoCode) {
|
||||
return checkCryptoCode(cryptoCode)
|
||||
.then(() => SUPPORTS_BATCHING)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue