Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
TalDerei committed Jan 16, 2025
1 parent 15f8399 commit 51a83df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/services/src/view-service/fees.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export const getAssetFromGasPriceTable = async (
const altGasPrices = await indexedDb.getAltGasPrices();

// If a specific asset ID is provided, extracted from the transaction request, check its balance is
// positive and GasPrices for that asset exist – valid only for 'spend' and 'output' transaction planner requests.
// positive and GasPrices for that asset exist.
if (!prioritySelection(request)) {
if (assetId) {
const balance = await indexedDb.hasTokenBalance(request.source.account, assetId);
Expand Down

0 comments on commit 51a83df

Please sign in to comment.