Skip to content
Draft
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
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports[`BridgeController BatchSell (multiple quote requests) SSE fetch quotes s
},
},
"batchSellTrades": null,
"batchSellTradesLoadingStatus": 0,
"batchSellTradesLoadingStatus": null,
"minimumBalanceForRentExemptionInLamports": "0",
"quoteFetchError": null,
"quoteRequest": [
Expand Down
4 changes: 2 additions & 2 deletions packages/bridge-controller/src/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -528,8 +528,8 @@ export const selectIsQuoteExpired = createBridgeSelector(
(isQuoteGoingToRefresh, quotesLastFetched, refreshRate, currentTimeInMs) =>
Boolean(
!isQuoteGoingToRefresh &&
quotesLastFetched &&
currentTimeInMs - quotesLastFetched > refreshRate,
quotesLastFetched &&
currentTimeInMs - quotesLastFetched > refreshRate,
),
);

Expand Down
1 change: 1 addition & 0 deletions packages/bridge-controller/src/utils/quote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import type {
QuoteResponse,
NonEvmFees,
TxData,
BatchSellTradesResponse,
} from '../types';
import { isNativeAddress, isNonEvmChainId } from './bridge';
import { FeatureId } from './validators';
Expand Down
Loading
Loading