edge-currency-plugins 2.5.0 → 2.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -141,6 +141,12 @@ var _utils3 = require('./utils');
141
141
 
142
142
  const engine = {
143
143
  async accelerate(edgeTx) {
144
+ const { canReplaceByFee = false } = currencyInfo
145
+ if (!canReplaceByFee) return null
146
+
147
+ // Accelerate for legacy Airbitz wallets is not supported
148
+ if (privateKeyFormat === 'bip32') return null
149
+
144
150
  // Get the replaced transaction from the processor:
145
151
  const replacedTxid = edgeTx.txid
146
152
  const [replacedTx] = await processor.fetchTransactions({
@@ -27,7 +27,7 @@ var _commonInfo = require('./commonInfo');
27
27
  ],
28
28
  enableCustomServers: false
29
29
  },
30
- canReplaceByFee: true,
30
+ canReplaceByFee: false,
31
31
  customFeeTemplate: [
32
32
  {
33
33
  type: 'nativeAmount',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edge-currency-plugins",
3
- "version": "2.5.0",
3
+ "version": "2.5.2",
4
4
  "description": "Edge currency plugins to fetch and process wallet accounts, balances and transactions.",
5
5
  "repository": "https://github.com/EdgeApp/edge-currency-plugins",
6
6
  "license": "MIT",