Skip to content

Commit 276a1c3

Browse files
committed
fix(deposit): prefer accurate info from the update
1 parent cbfcea8 commit 276a1c3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/components/UI/Ramp/Deposit/orderProcessor/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ describe('processDepositOrder', () => {
294294
cryptoAmount: 0.012361263,
295295
cryptoCurrency: 'BTC',
296296
fiatCurrency: 'USD',
297-
network: 'ethreum',
297+
network: 'ethereum',
298298
status: 'COMPLETED',
299299
orderType: 'DEPOSIT',
300300
walletAddress: '0x1234',

app/components/UI/Ramp/Deposit/orderProcessor/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ export async function processDepositOrder(
7171
return {
7272
...updatedFiatOrder,
7373
account: order.account,
74-
network: order.network ?? updatedFiatOrder.network,
7574
lastTimeFetched: Date.now(),
7675
errorCount: 0,
7776
};

0 commit comments

Comments
 (0)