Skip to content

Commit 29e342f

Browse files
committed
Merge branch 'staging' of github.com:hop-protocol/hop into production
2 parents 4fd6478 + d4722f8 commit 29e342f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hop-protocol/frontend",
3-
"version": "0.0.44",
3+
"version": "0.0.45",
44
"description": "Hop Protocol Frontend",
55
"author": "Authereum Labs, Inc.",
66
"license": "MIT",

packages/frontend/src/pages/Convert/ConvertOption/HopConvertOption.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ class HopConvertOption extends ConvertOption {
6969

7070
// note: USDC.E out of L2 to ethereum (deprecated token route) will have to go through the 7 day exit time and be manually withdrawn.
7171
// note: MAGIC out of L2 to ethereum (deprecated token route) will have to go through the 7 day exit time and be manually withdrawn.
72+
console.log('debug0')
7273
const isDeprecatedRouteWithdrawal = ['USDC.e', 'MAGIC', 'DAI'].includes(l1TokenSymbol) && destNetwork?.slug === ChainSlug.Ethereum && !sourceNetwork?.isLayer1
7374
if (isDeprecatedRouteWithdrawal) {
7475
if (BigNumber.from(bonderFee ?? 0).eq(0)) {
@@ -122,7 +123,8 @@ class HopConvertOption extends ConvertOption {
122123
let estimatedReceived = amountIn
123124
let warning : any
124125

125-
const isDeprecatedRouteWithdrawal = ['hUSDC.e', 'hMAGIC'].includes(token.symbol) && destNetwork?.slug === ChainSlug.Ethereum
126+
console.log('debug1')
127+
const isDeprecatedRouteWithdrawal = ['hUSDC.e', 'hMAGIC', 'DAI'].includes(token.symbol) && destNetwork?.slug === ChainSlug.Ethereum
126128

127129
// note: bypass bonder fee since USDC.e out of L2 to ethereum (deprecated token route) will have to go through the 7 day exit time and be manually withdrawn.
128130
if (isDeprecatedRouteWithdrawal) {

0 commit comments

Comments
 (0)