Skip to content

Commit

Permalink
feat(connect): allow smart fees estimate for doge
Browse files Browse the repository at this point in the history
  • Loading branch information
mroz22 committed Nov 12, 2024
1 parent 6956a79 commit b33ad25
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/connect/src/api/blockchainEstimateFee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ export default class BlockchainEstimateFee extends AbstractMethod<'blockchainEst
};
if (request && request.feeLevels) {
const fees = new FeeLevels(coinInfo);
// TODO: https://github.com/trezor/trezor-suite/issues/5340
// smart fees for DOGE are not relevant since their fee policy changed, see @trezor/utxo-lib/compose: baseFee
if (request.feeLevels === 'smart' && coinInfo.shortcut !== 'DOGE') {
if (request.feeLevels === 'smart') {
const backend = await initBlockchain(coinInfo, this.postMessage, identity);
await fees.load(backend);
}
Expand Down

0 comments on commit b33ad25

Please sign in to comment.