Skip to content

Commit dd4e911

Browse files
committed
Merge branch 'staging' of github.com:hop-protocol/hop into production
2 parents fc15211 + c1cea24 commit dd4e911

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
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.41",
3+
"version": "0.0.42",
44
"description": "Hop Protocol Frontend",
55
"author": "Authereum Labs, Inc.",
66
"license": "MIT",

packages/frontend/src/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const queryClient = new QueryClient({
1919
staleTime: 20000,
2020
cacheTime: 1000 * 60 * 60,
2121
// By default, retries in React Query do not happen immediately after a request fails.
22-
// As is standard, a back-off delay is gradually applied to each retry attempt.
22+
// As is standard, a back-off delay is gradually applied to each retry attempt
2323
// The default retryDelay is set to double (starting at 1000ms) with each attempt, but not exceed 30 seconds.
2424
retryDelay: attemptIndex => Math.min(1000 * 2 ** attemptIndex, 30000),
2525
onError: err => {

packages/sdk/src/HopBridge.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,12 +1061,12 @@ export class HopBridge extends Base {
10611061
slippageTolerance: number = this.defaultSlippageTolerance
10621062
) : Promise<any> {
10631063
// Check if we should use Socket for transfers
1064-
if (this.enableSocket && !isHTokenSend) {
1064+
if (this.enableSocket && !isHTokenSend && !this.tokenSymbol === TokenSymbol.HOP) {
10651065
return this.#getSendDataSocket(amountIn, sourceChain, destinationChain, slippageTolerance)
10661066
}
10671067

10681068
// Check if we should use LI.FI for transfers
1069-
if (this.enableLifi && !isHTokenSend) {
1069+
if (this.enableLifi && !isHTokenSend && !this.tokenSymbol === TokenSymbol.HOP) {
10701070
return this.#getSendDataLifi(amountIn, sourceChain, destinationChain, slippageTolerance)
10711071
}
10721072

0 commit comments

Comments
 (0)