Skip to content

Commit 77c0bfb

Browse files
committed
Merge branch 'staging' of github.com:hop-protocol/hop into production
2 parents fe5fbe8 + 005d4d4 commit 77c0bfb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/sdk/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/sdk",
3-
"version": "0.0.40",
3+
"version": "0.0.41",
44
"description": "The v1 Hop Protocol TypeScript SDK",
55
"author": "Authereum Labs, Inc.",
66
"license": "MIT",

packages/sdk/src/HopBridge.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,12 +410,12 @@ export class HopBridge extends Base {
410410
sourceChain = this.toChainModel(sourceChain)
411411

412412
// Check if we should use Socket for transfers
413-
if (this.enableSocket && !options.isHTokenSend) {
413+
if (this.enableSocket && !options.isHTokenSend && !this.tokenSymbol === TokenSymbol.HOP) {
414414
return this.#sendSocket(tokenAmount, sourceChain, destinationChain, options)
415415
}
416416

417417
// Check if we should use LI.FI for transfers
418-
if (this.enableLifi && !options.isHTokenSend) {
418+
if (this.enableLifi && !options.isHTokenSend && !this.tokenSymbol === TokenSymbol.HOP) {
419419
return this.#sendLifi(tokenAmount, sourceChain, destinationChain, options)
420420
}
421421

0 commit comments

Comments
 (0)