Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable accelerate for bip44 wallets #395

Merged
merged 1 commit into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 bip44 wallets

## 2.5.3 (2024-01-24)

- changed: Add insufficient funds check `subtractFee` style transactions
Expand Down
5 changes: 3 additions & 2 deletions src/common/utxobased/engine/makeUtxoEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +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
// Accelerate for non-segwit wallets is not supported
if (privateKeyFormat === 'bip32' || privateKeyFormat === 'bip44')
return null

// Get the replaced transaction from the processor:
const replacedTxid = edgeTx.txid
Expand Down
Loading