Skip to content

Commit

Permalink
Merge pull request #392 from EdgeApp/matthew/disableAccelerateBip32
Browse files Browse the repository at this point in the history
Disable accelerate for legacy bip32 Airbitz wallets
  • Loading branch information
peachbits authored Jan 23, 2024
2 parents 0d64e30 + fb78a67 commit c6b05f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- removed: Disable `accelerate` for bip32 (Airbitz) wallets

## 2.5.1 (2023-11-10)

- changed: Disabled RBF for Litecoin
Expand Down
3 changes: 3 additions & 0 deletions src/common/utxobased/engine/makeUtxoEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ export async function makeUtxoEngine(
const { canReplaceByFee = false } = currencyInfo
if (!canReplaceByFee) return null

// Accelerate for legacy Airbitz wallets is not supported
if (privateKeyFormat === 'bip32') return null

// Get the replaced transaction from the processor:
const replacedTxid = edgeTx.txid
const [replacedTx] = await processor.fetchTransactions({
Expand Down

0 comments on commit c6b05f1

Please sign in to comment.